ok

Mini Shell

Direktori : /home2/selectio/www/a1tex.in/vendor/facade/ignition/src/DumpRecorder/
Upload File :
Current File : /home2/selectio/www/a1tex.in/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;
    }
}

Zerion Mini Shell 1.0