public function read()
    {
        if ($this->_user !== null) {
            return $this->_user ?: null;
        }

        $this->_user = $this->_session->read($this->_config['key']) ?: false;

        return $this->_user ?: null;
    }
public function read()
    {
        if ($this->_user !== null) {
            return $this->_user ?: null;
        }

        $this->_user = $this->_session->read($this->_config['key']) ?: false;

        return $this->_user ?: null;
    }
public function read ( ) { if ( $ this -> _user !== null ) { return $ this -> _user ? : null ; } $ this -> _user = $ this -> _session -> read ( $ this -> _config [ 'key' ] ) ? : false ; return $ this -> _user ? : null ; }
Read user record from session.

@return array|null User record if available else null.
Read user record from session .