docs/examples/Server.php
protected function getBrokerInfo(string $brokerId)
    {
        if (!isset($this->brokers[$brokerId])) {
            return null;
        }

        return $this->brokers[$brokerId];
    }
protected function getBrokerInfo(string $brokerId)
    {
        if (!isset($this->brokers[$brokerId])) {
            return null;
        }

        return $this->brokers[$brokerId];
    }
protected function getBrokerInfo ( string $ brokerId ) { if ( ! isset ( $ this -> brokers [ $ brokerId ] ) ) { return null ; } return $ this -> brokers [ $ brokerId ] ; }
Get the secret key and other info of a broker

@param string $brokerId

@return null|array
Get the secret key and other info of a broker