public function getRequest() { if (!$this->request) { $this->request = new HttpRequest(); } return $this->request; }