public function registerSession($name, Session $session)
    {
        $name = strtolower($name);

        $this->sessions[$name] = $session;
    }
public function registerSession($name, Session $session)
    {
        $name = strtolower($name);

        $this->sessions[$name] = $session;
    }
public function registerSession ( $ name , Session $ session ) { $ name = strtolower ( $ name ) ; $ this -> sessions [ $ name ] = $ session ; }
Registers new session.

@param string  $name
@param Session $session
Registers new session .