ok

Mini Shell

Direktori : /home2/selectio/www/bharath/a1tex.in/vendor/facade/ignition/src/DumpRecorder/
Upload File :
Current File : /home2/selectio/www/bharath/a1tex.in/vendor/facade/ignition/src/DumpRecorder/DumpHandler.php

<?php

namespace Facade\Ignition\DumpRecorder;

use Symfony\Component\VarDumper\Cloner\VarCloner;

class DumpHandler
{
    /** @var \Facade\Ignition\DumpRecorder\DumpRecorder */
    protected $dumpRecorder;

    public function __construct(DumpRecorder $dumpRecorder)
    {
        $this->dumpRecorder = $dumpRecorder;
    }

    public function dump($value)
    {
        $data = (new VarCloner())->cloneVar($value);

        $this->dumpRecorder->record($data);
    }
}

Zerion Mini Shell 1.0