public function getView() { if ($this->view) { return $this->view; } $this->view = $this->services->get(View::class); return $this->view; }