예제 #1
0
파일: Profiler.php 프로젝트: t4web/profiler
 /**
  * @return array
  */
 public function toArray()
 {
     return ['method' => $this->request->getMethod(), 'uri' => $this->request->getUriString(), 'responseCode' => $this->response->getStatusCode(), 'execution_time' => $this->endTime - $_SERVER['REQUEST_TIME_FLOAT'], 'timers' => $this->timersReport];
 }