src/Client.php
/**
     * Reads a message from the broker.
     *
     * @return false|Message
     */
Reads a message from the broker.
@return false|Message
Reads a message from the broker . @return false|Message
public function readMessage()
    {
        $ret = $this->getStompClient()->read();
        if (!$ret) {
            return $ret;
        }
        return new Message('', [], [], $ret);
    }
public function readMessage ( ) { $ ret = $ this -> getStompClient ( ) -> read ( ) ; if ( ! $ ret ) { return $ ret ; } return new Message ( '' , [ ] , [ ] , $ ret ) ; }
Reads a message from the broker.
Reads a message from the broker .