| Current Path : /var/www/html/performance.sumar.com.py/vendor/facade/ignition/src/DumpRecorder/ |
| Current File : /var/www/html/performance.sumar.com.py/vendor/facade/ignition/src/DumpRecorder/MultiDumpHandler.php |
<?php
namespace Facade\Ignition\DumpRecorder;
class MultiDumpHandler
{
/** @var array */
protected $handlers = [];
public function dump($value)
{
foreach ($this->handlers as $handler) {
$handler($value);
}
}
public function addHandler(callable $callable = null): self
{
$this->handlers[] = $callable;
return $this;
}
}