PHP Класс SimpleSoftwareIO\SMS\IncomingMessage

Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$from string Holds who a message came from.
$id string Holds the message ID.
$message string Holds the message body.
$raw mixed Holds the raw data from a provider.
$to string Holds the to address.

Открытые методы

Метод Описание
from ( ) : string Returns the from address.
id ( ) : string Returns the message id.
message ( ) : string Returns the message body.
raw ( ) : mixed Returns the raw data.
setFrom ( string $from ) Sets the from address.
setId ( string $id ) Sets the message id.
setMessage ( string $message ) Sets the message body.
setRaw ( mixed $raw ) Sets the raw data.
setTo ( string $to ) Sets the to address.
to ( ) : string Returns the to address.

Описание методов

from() публичный Метод

Returns the from address.
public from ( ) : string
Результат string

id() публичный Метод

Returns the message id.
public id ( ) : string
Результат string

message() публичный Метод

Returns the message body.
public message ( ) : string
Результат string

raw() публичный Метод

Returns the raw data.
public raw ( ) : mixed
Результат mixed

setFrom() публичный Метод

Sets the from address.
public setFrom ( string $from )
$from string

setId() публичный Метод

Sets the message id.
public setId ( string $id )
$id string

setMessage() публичный Метод

Sets the message body.
public setMessage ( string $message )
$message string

setRaw() публичный Метод

Sets the raw data.
public setRaw ( mixed $raw )
$raw mixed

setTo() публичный Метод

Sets the to address.
public setTo ( string $to )
$to string

to() публичный Метод

Returns the to address.
public to ( ) : string
Результат string

Описание свойств

$from защищенное свойство

Holds who a message came from.
protected string $from
Результат string

$id защищенное свойство

Holds the message ID.
protected string $id
Результат string

$message защищенное свойство

Holds the message body.
protected string $message
Результат string

$raw защищенное свойство

Holds the raw data from a provider.
protected mixed $raw
Результат mixed

$to защищенное свойство

Holds the to address.
protected string $to
Результат string