printFirebug() публичный Метод

Send debug data to the developers FirePHP instance in-browser.
public printFirebug ( mixed $var, mixed $msg, boolean $safe ) : string
$var mixed The data to be dumped into FirePHP
$msg mixed The message to associate with the data
$safe boolean
Результат string FirePHP formatted string
Пример #1
0
 public function testPrintFirebugNoSafeDebugOnArrayArray()
 {
     $this->stubVarDumper();
     $app = $this->getApp();
     $app['debug'] = true;
     $logger = $this->getMock('\\Monolog\\Logger', ['info'], ['testlogger']);
     $logger->expects($this->never())->method('info');
     $app['logger.firebug'] = $logger;
     $handler = new UtilsHandler($app);
     $handler->printFirebug(['koala and clippy'], ['Danger Detected!'], false);
 }