* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\VarDumper; use Symfony\Component\VarDumper\Cloner\VarCloner; use Symfony\Component\VarDumper\Dumper\CliDumper; use Symfony\Component\VarDumper\Dumper\HtmlDumper; // Load the global dump() function require_once __DIR__.'/Resources/functions/dump.php'; /** * @author Nicolas Grekas */ class VarDumper { private static $handler; public static function dump($var) { if (null === self::$handler) { $cloner = new VarCloner(); $dumper = \in_array(PHP_SAPI, array('cli', 'phpdbg'), true) ? new CliDumper() : new HtmlDumper(); self::$handler = function ($var) use ($cloner, $dumper) { $dumper->dump($cloner->cloneVar($var)); }; } return call_user_func(self::$handler, $var); } public static function setHandler(callable $callable = null) { $prevHandler = self::$handler; self::$handler = $callable; return $prevHandler; } } __halt_compiler();----SIGNATURE:----B0M+rnuczZ6lFU094k/7z0SJycb/iYuRt1jN4dqXKdaNYiQsM6++0D09SsyvqJoVi+YYmU0doqglZd86Cv08upBT90Tl8iafvhluNZUSqtiUCMopFNyYMuG1gAvqrGG8z8EGVb8WG//aSfhW1c7iFhHHn0zk8bmGvsjBG3XDoUKlRHQ3fXgk4LZvHQeCQxUG7OF7MAjDaMeMd7rRYQHGkWoTmKjCQdro4fXO92s6CKdta2kfsGpxFW9okTHfr4taM8CWJtbilscsIy9bQU5viNMGYPf9GxyBL7k5pUWdtIALHy06g06+b9bmhT0AiPIvE/Ypg4G+qf4RRJwTtPSW7yhKvK6Y5STTln8w12GlGf+HgTs4hH/Bb9jO8nPqyIDZqNWlXoHqBloIghQNucjHX4aOpcR0mDiwxEBaULmP+Ywy7omjNoHDHGB8bDT3KoCzjYGKxQVBmd0KyDP7S4xNjBrEWUwB/swmRdzu6qutbXOp/v8NnO+czFSDfQ04ao+9mbiy2zmxZVDF2GDvi1lIUtjih9Z6nHxGutStc5kNQ8pwa8qDe/Flp3My26VRuD8l83fr+zjjK+B8I7s+BWPxfcLAq85WfbF0InwNTvTOLjvXRO7ohwvU4dQbhXvAM2hSnqtfeGwD5Ovl4rIXIcab3fVRikCPAeOC7EpzLQaOcrg=----ATTACHMENT:----MjY4NjA0MzQ5MTAyMjg5MiA4MDkyOTU2Mjg3ODcwOTAyIDg4NTkxMjk1MzAxOTI3MjE=