PHP Класс SimpleSoftwareIO\QrCode\DataTypes\SMS

Автор: SimpleSoftware [email protected]
Наследование: implements SimpleSoftwareIO\QrCode\DataTypes\DataTypeInterface
Показать файл Открыть проект

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

Свойство Тип Описание
$message string The SMS message.
$phoneNumber string The phone number.
$prefix string The prefix of the QrCode.
$separator string The separator between the variables.

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

Метод Описание
__toString ( ) : string Returns the correct QrCode format.
create ( array $arguments ) Generates the DataType Object and sets all of its properties.

Защищенные методы

Метод Описание
buildSMSString ( ) : string Builds a SMS string.
setProperties ( array $arguments ) Sets the phone number and message for a sms message.

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

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

Returns the correct QrCode format.
public __toString ( ) : string
Результат string

buildSMSString() защищенный Метод

Builds a SMS string.
protected buildSMSString ( ) : string
Результат string

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

Generates the DataType Object and sets all of its properties.
public create ( array $arguments )
$arguments array

setProperties() защищенный Метод

Sets the phone number and message for a sms message.
protected setProperties ( array $arguments )
$arguments array

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

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

The SMS message.
protected string $message
Результат string

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

The phone number.
protected string $phoneNumber
Результат string

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

The prefix of the QrCode.
protected string $prefix
Результат string

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

The separator between the variables.
protected string $separator
Результат string