public function request() { if (!$this->request instanceof Request) { $this->setRequest(new Request()); } return $this->request; }