SimpleSoftwareIO\SMS\Drivers\PlivoSMS::processReceive PHP Method

processReceive() protected method

Processing the raw information from a request and inputs it into the IncomingMessage object.
protected processReceive ( $raw )
$raw
    protected function processReceive($raw)
    {
        $incomingMessage = $this->createIncomingMessage();
        $incomingMessage->setRaw($raw);
        $incomingMessage->setMessage($raw->resource_uri);
        $incomingMessage->setFrom($raw->message_uuid);
        $incomingMessage->setId($raw->message_uuid);
        $incomingMessage->setTo($raw->to_number);
    }