protected function debug()
{
$settings = $this->getSettings();
$debugOutputEnabled = $this->assertDebugEnabled();
$useDebugUtility = !isset($settings['useDebugUtility']) || isset($settings['useDebugUtility']) && $settings['useDebugUtility'];
$debugInformation = $this->getDebugInformation();
if ($debugOutputEnabled) {
if ($useDebugUtility) {
DebuggerUtility::var_dump($debugInformation);
return '';
} else {
return var_export($debugInformation, true);
}
}
}