azure-storage-queue/src/Queue/QueueRestProxy.php
public function listMessages($queueName, ListMessagesOptions $options = null)
    {
        return $this->listMessagesAsync($queueName, $options)->wait();
    }
public function listMessages($queueName, ListMessagesOptions $options = null)
    {
        return $this->listMessagesAsync($queueName, $options)->wait();
    }
Lists all messages in the queue.

@param string              $queueName The queue name.
@param ListMessagesOptions $options   The optional parameters.

@return Models\ListMessagesResult