/
home
/
sjslayjy
/
public_html
/
sag_latest
/
vendor
/
spatie
/
laravel-ignition
/
src
/
Recorders
/
DumpRecorder
/
Upload File
HOME
<?php namespace Spatie\LaravelIgnition\Recorders\DumpRecorder; class MultiDumpHandler { /** @var array<int, callable|null> */ protected array $handlers = []; public function dump(mixed $value): void { foreach ($this->handlers as $handler) { if ($handler) { $handler($value); } } } public function addHandler(?callable $callable = null): self { if ($callable) { $this->handlers[] = $callable; } return $this; } }