/** * リソースリクエスト実行 * * @return BEAR_Ro */ public function request() { $start = microtime(true); $this->_log->start(); parent::request(); $time = microtime(true) - $start; $this->_ro->setHeader('_time', $time); $log = array('Time' => $time); $appLog = $this->_log->stop(); if ($appLog) { $log['Log'] = array_values($appLog); } if ($log) { $this->_ro->setHeader('_log', $log); } return $this->_ro; }