setView(); $this->setRoute(); $this->crums = new Breadcrumb(); } public function getView() { return $this->view ?? []; } public function setView() { $this->view = $this->getView(); } public function getRoute() { return $this->route ?? []; } public function setRoute() { $this->route = $this->getRoute(); } }