protected function processReceive($rawMessage)
    {
        $incomingMessage = $this->createIncomingMessage();
        $incomingMessage->setRaw($rawMessage);
        $incomingMessage->setFrom($rawMessage['PhoneNumber']);
        $incomingMessage->setMessage($rawMessage['Message']);
        $incomingMessage->setId($rawMessage['ID']);
        $incomingMessage->setTo('313131');

        return $incomingMessage;
    }
protected function processReceive($rawMessage)
    {
        $incomingMessage = $this->createIncomingMessage();
        $incomingMessage->setRaw($rawMessage);
        $incomingMessage->setFrom($rawMessage['PhoneNumber']);
        $incomingMessage->setMessage($rawMessage['Message']);
        $incomingMessage->setId($rawMessage['ID']);
        $incomingMessage->setTo('313131');

        return $incomingMessage;
    }
protected function processReceive ( $ rawMessage ) { $ incomingMessage = $ this -> createIncomingMessage ( ) ; $ incomingMessage -> setRaw ( $ rawMessage ) ; $ incomingMessage -> setFrom ( $ rawMessage [ 'PhoneNumber' ] ) ; $ incomingMessage -> setMessage ( $ rawMessage [ 'Message' ] ) ; $ incomingMessage -> setId ( $ rawMessage [ 'ID' ] ) ; $ incomingMessage -> setTo ( '313131' ) ; return $ incomingMessage ; }
Returns an IncomingMessage object with it's properties filled out.

@param $rawMessage

@return mixed|\SimpleSoftwareIO\SMS\IncomingMessage
Returns an IncomingMessage object with it s properties filled out .