public function getSession() { $session = $this->request->getSession(); return $session ? $session->all() : []; }