Use HTML dumper for Smarty collector
This commit is contained in:
parent
835170f4b5
commit
6fef87f58b
1 changed files with 3 additions and 2 deletions
|
@ -88,8 +88,9 @@ class ViewFactory
|
|||
|
||||
if ($container->has('debugbar')) {
|
||||
$debugBar = $container->get('debugbar');
|
||||
|
||||
$debugBar->addCollector(new SmartyCollector($view->getSmarty()));
|
||||
$collector = new SmartyCollector($view->getSmarty());
|
||||
$collector->useHtmlVarDumper();
|
||||
$debugBar->addCollector($collector);
|
||||
|
||||
$view->offsetSet(
|
||||
'debug_render',
|
||||
|
|
Loading…
Reference in a new issue