private function _getSession($sessionId)
    {
        if (is_null($this->_session)) {
            $this->_session = $this->_repository->find(array('sessionId' => $sessionId));
        }

        return $this->_session;
    }
private function _getSession($sessionId)
    {
        if (is_null($this->_session)) {
            $this->_session = $this->_repository->find(array('sessionId' => $sessionId));
        }

        return $this->_session;
    }
private function _getSession ( $ sessionId ) { if ( is_null ( $ this -> _session ) ) { $ this -> _session = $ this -> _repository -> find ( array ( 'sessionId' => $ sessionId ) ) ; } return $ this -> _session ; }
loads the session entity

@param $id string session id
@return session entity
loads the session entity