/** * Returns debug report */ public function getReport() { $report = array(); $report['restDebug'] = $this->debug->generateOutput(); $reportEZDebug = $this->eZDebug->printReportInternal(false); $report['eZDebug'] = explode("\n", $reportEZDebug); return $report; }