SimpleSoftwareIO\SMS\Drivers\EZTextingSMS::checkMessages PHP Method

checkMessages() public method

Checks the server for messages and returns their results.
public checkMessages ( array $options = [] ) : array
$options array
return array
    public function checkMessages(array $options = [])
    {
        $this->buildCall('/incoming-messages');
        $this->buildBody($options);
        $rawMessages = $this->getRequest()->json();
        return $this->makeMessages($rawMessages['Response']['Entries']);
    }