view('pages/services', [ 'user' => $this->getCurrentUser(), 'isLoggedIn' => $this->isAuthenticated() ]); } public function delivery(): void { $this->view('pages/delivery', [ 'user' => $this->getCurrentUser(), 'isLoggedIn' => $this->isAuthenticated() ]); } public function warranty(): void { $this->view('pages/warranty', [ 'user' => $this->getCurrentUser(), 'isLoggedIn' => $this->isAuthenticated() ]); } }