ticketService = $ticketService; session(['lastPage' => CURRENT_URL]); session(['lastTicketView' => 'table']); session(['lastFilterdTicketTableView' => CURRENT_URL]); if (! session()->exists('currentProjectName')) { Frontcontroller::redirect(BASE_URL.'/'); } } /** * @throws \Exception */ public function get($params): Response { $template_assignments = $this->ticketService->getTicketTemplateAssignments($params); array_map([$this->tpl, 'assign'], array_keys($template_assignments), array_values($template_assignments)); return $this->tpl->display('tickets.showAll'); } }