PHP Class SimpleSoftwareIO\SMS\Drivers\AbstractSMS

Afficher le fichier Open project: simplesoftwareio/simple-sms

Méthodes protégées

Méthode Description
createIncomingMessage ( ) : IncomingMessage Creates a new IncomingMessage instance.
makeMessage ( string $rawMessage ) : mixed Creates a single IncomingMessage object.
makeMessages ( string $rawMessages ) : array Creates many IncomingMessage objects.
processReceive ( string $rawMessage ) : mixed Creates many IncomingMessage objects and sets all of the properties.
throwNotSentException ( string $message, null | integer $code = null ) Throw a not sent exception

Method Details

createIncomingMessage() protected méthode

Creates a new IncomingMessage instance.
protected createIncomingMessage ( ) : IncomingMessage
Résultat SimpleSoftwareIO\SMS\IncomingMessage

makeMessage() protected méthode

Creates a single IncomingMessage object.
protected makeMessage ( string $rawMessage ) : mixed
$rawMessage string
Résultat mixed

makeMessages() protected méthode

Creates many IncomingMessage objects.
protected makeMessages ( string $rawMessages ) : array
$rawMessages string
Résultat array

processReceive() abstract protected méthode

Creates many IncomingMessage objects and sets all of the properties.
abstract protected processReceive ( string $rawMessage ) : mixed
$rawMessage string
Résultat mixed

throwNotSentException() protected méthode

Throw a not sent exception
protected throwNotSentException ( string $message, null | integer $code = null )
$message string
$code null | integer