public function getSessionBySessionId($sessionId)
    {
        if (!is_scalar($sessionId)) {
            return false;
        }

        return isset($this->sessions[$sessionId]) ? $this->sessions[$sessionId] : false;
    }
public function getSessionBySessionId($sessionId)
    {
        if (!is_scalar($sessionId)) {
            return false;
        }

        return isset($this->sessions[$sessionId]) ? $this->sessions[$sessionId] : false;
    }
public function getSessionBySessionId ( $ sessionId ) { if ( ! is_scalar ( $ sessionId ) ) { return false ; } return isset ( $ this -> sessions [ $ sessionId ] ) ? $ this -> sessions [ $ sessionId ] : false ; }
Get session by session ID

@param int $sessionId
@return \Thruway\Session|boolean
Get session by session ID