protected function getSession()
    {
        if (null === $this->session) {
            if (null !== $this->getRequest()) {
                $this->session = $this->request->getSession();
            }
        }

        return $this->session;
    }
protected function getSession()
    {
        if (null === $this->session) {
            if (null !== $this->getRequest()) {
                $this->session = $this->request->getSession();
            }
        }

        return $this->session;
    }
protected function getSession ( ) { if ( null === $ this -> session ) { if ( null !== $ this -> getRequest ( ) ) { $ this -> session = $ this -> request -> getSession ( ) ; } } return $ this -> session ; }
get the session

@return Session
get the session