/** * @param mixed $node * @param string $msg * @param string $panel */ protected function addDebug($node, $msg, $panel = 'panel-default') { $title = $this->evaluator->prettyPrint($node); $this->debugLogger->collapse("<pre class=php>" . htmlspecialchars($title) . "</pre>", $msg, $panel); }