src/Sessions/Session.php
final protected function getSessionProvider()
    {
        if ($this->sessionProvider == null) {
            $this->sessionProvider = $this->getNewSessionProvider();
        }

        return $this->sessionProvider;
    }
final protected function getSessionProvider()
    {
        if ($this->sessionProvider == null) {
            $this->sessionProvider = $this->getNewSessionProvider();
        }

        return $this->sessionProvider;
    }
final protected function getSessionProvider ( ) { if ( $ this -> sessionProvider == null ) { $ this -> sessionProvider = $ this -> getNewSessionProvider ( ) ; } return $ this -> sessionProvider ; }
Get's the SessionProvider for this session.

To change the session provider for a session simply implement the GetNewSessionProvider() method.

@return SessionProviders\SessionProvider
Get s the SessionProvider for this session .