public function setSession(SessionInterface $session)
    {
        if (!is_object($session) || $this->session !== null) {
            return false;
        }
        
        $this->session = $session;
        
        return true;
    }
public function setSession(SessionInterface $session)
    {
        if (!is_object($session) || $this->session !== null) {
            return false;
        }
        
        $this->session = $session;
        
        return true;
    }
public function setSession ( SessionInterface $ session ) { if ( ! is_object ( $ session ) || $ this -> session !== null ) { return false ; } $ this -> session = $ session ; return true ; }
Adds a session object to the request

@access public
@param \Zepi\Turbo\FrameworkInterface\SessionInterface $session
@return boolean
Adds a session object to the request