docs/examples/Server.php
protected function getBrokerSessionId()
    {
        $headers = getallheaders();
        if (isset($headers['Authorization']) &&  strpos($headers['Authorization'], 'Bearer') === 0) {
            $headers['Authorization'] = substr($headers['Authorization'], 7);

            return $headers['Authorization'];
        }

        return null;
    }
protected function getBrokerSessionId()
    {
        $headers = getallheaders();
        if (isset($headers['Authorization']) &&  strpos($headers['Authorization'], 'Bearer') === 0) {
            $headers['Authorization'] = substr($headers['Authorization'], 7);

            return $headers['Authorization'];
        }

        return null;
    }
protected function getBrokerSessionId ( ) { $ headers = getallheaders ( ) ; if ( isset ( $ headers [ 'Authorization' ] ) && strpos ( $ headers [ 'Authorization' ] , 'Bearer' ) === 0 ) { $ headers [ 'Authorization' ] = substr ( $ headers [ 'Authorization' ] , 7 ) ; return $ headers [ 'Authorization' ] ; } return null ; }
Return session id sent from broker.

@return null|string
Return session id sent from broker .