/** * {@inheritdoc} */ public function catchException(App\Bootstrap $bootstrap, \Exception $exception) { $this->_response->setHttpResponseCode(404); $this->_response->sendHeaders(); return true; }
/** * {@inheritdoc} */ public function sendHeaders() { $pluginInfo = $this->pluginList->getNext($this->subjectType, 'sendHeaders'); if (!$pluginInfo) { return parent::sendHeaders(); } else { return $this->___callPlugins('sendHeaders', func_get_args(), $pluginInfo); } }