/** * Close the session handling for the request. * * @param \Illuminate\Session\SessionInterface $session * @return void */ protected function closeSession(SessionInterface $session) { $session->save(); $this->collectGarbage($session); }