checkMessages() public method

Checks the server for messages and returns their results.
public checkMessages ( array $options = [] ) : array
$options array
return array
Exemplo n.º 1
0
 /**
  * Queries the provider for a list of messages.
  *
  * @param array $options The options to pass onto a provider.  See each provider for a list of options.
  * @return array Returns an array of IncomingMessage objects.
  */
 public function checkMessages(array $options = array())
 {
     return $this->driver->checkMessages($options);
 }