Merge branch 'dev_profiling' of git.d3data.de:DanielS/DebugBar into dev_profiling
This commit is contained in:
@ -98,16 +98,6 @@ class DebugBarComponent extends BaseController
|
||||
return new SmartyCollector(Registry::getUtilsView()->getSmarty());
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string|null
|
||||
*/
|
||||
public function render()
|
||||
{
|
||||
$this->getParent()->addTplParam('debugBarRenderer', $this->debugBarRenderer);
|
||||
$this->getParent()->addTplParam('debugBarComponent', $this);
|
||||
return parent::render();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $object
|
||||
* @param $propName
|
||||
@ -149,4 +139,12 @@ class DebugBarComponent extends BaseController
|
||||
$property->setAccessible(true);
|
||||
$property->setValue($this->debugBar, $collectors);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return JavascriptRenderer
|
||||
*/
|
||||
public function getRenderer(): JavascriptRenderer
|
||||
{
|
||||
return $this->debugBarRenderer;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user