public function peekMessages($queueName, PeekMessagesOptions $options = null)
    {
        return $this->peekMessagesAsync($queueName, $options)->wait();
    }
public function peekMessages($queueName, PeekMessagesOptions $options = null)
    {
        return $this->peekMessagesAsync($queueName, $options)->wait();
    }
public function peekMessages ( $ queueName , PeekMessagesOptions $ options = null ) { return $ this -> peekMessagesAsync ( $ queueName , $ options ) -> wait ( ) ; }
Retrieves a message from the front of the queue, without changing
the message visibility.

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

@return Models\PeekMessagesResult
Retrieves a message from the front of the queue without changing the message visibility .