public function setResponse(Response $response) { $this->_response = $response; ActionStack::getInstance()->setResponse($response); }
/** * Override to gain pre dispatch logic. * Note: * The action could be skipped by fowarding from here based on some * test. */ protected function preDispatch() { $stack = ActionStack::getInstance(); }