Use HTML dumper for Smarty collector

This commit is contained in:
Pierre Rudloff 2022-01-27 00:15:05 +01:00
parent 835170f4b5
commit 6fef87f58b

View file

@ -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',