예제 #1
0
 /**
  * Подготавливает отчет
  *
  * @return void
  */
 public function action()
 {
     $this->data['num'] = $this->num;
     $debugReport = $this->view->getReport($this->data);
     $this->response->sendContent($debugReport);
     exit;
 }
예제 #2
0
 /**
  * Подготавливает отчет
  *
  * @return void
  */
 public function createReport()
 {
     $this->data = ['message' => $this->message, 'adds' => isset($this->line), 'level' => 'Parse error: ', 'listing' => $this->getListing(), 'file' => $this->file, 'line' => $this->line, 'stack' => null];
     $this->data['num'] = $this->num;
     $this->view->displayReport($this->data);
 }