/** * Terminate context * * @return string */ public function end() { return $this->response->send(); }
/** * Send response * * @return string */ public function send() { $this->content = file_get_contents($this->filename); parent::send(); exit; }
/** * Send response * * @return string */ public function send() { $this->header('Location', $this->uri); parent::send(); exit; }