protected function writeSession(Response $response)
    {
        $this->session->ageFlashData();
        $this->sessionHandler->write($this->session->getId(), serialize($this->session->getAll()));
        $this->writeToResponse($response);
    }
protected function writeSession(Response $response)
    {
        $this->session->ageFlashData();
        $this->sessionHandler->write($this->session->getId(), serialize($this->session->getAll()));
        $this->writeToResponse($response);
    }
protected function writeSession ( Response $ response ) { $ this -> session -> ageFlashData ( ) ; $ this -> sessionHandler -> write ( $ this -> session -> getId ( ) , serialize ( $ this -> session -> getAll ( ) ) ) ; $ this -> writeToResponse ( $ response ) ; }
Writes the session data to the response

@param Response $response The response
Writes the session data to the response