PHP Class SimpleSoftwareIO\QrCode\DataTypes\SMS

Author: SimpleSoftware [email protected]
Inheritance: implements SimpleSoftwareIO\QrCode\DataTypes\DataTypeInterface
Afficher le fichier Open project: simplesoftwareio/simple-qrcode

Protected Properties

Свойство Type Description
$message string The SMS message.
$phoneNumber string The phone number.
$prefix string The prefix of the QrCode.
$separator string The separator between the variables.

Méthodes publiques

Méthode Description
__toString ( ) : string Returns the correct QrCode format.
create ( array $arguments ) Generates the DataType Object and sets all of its properties.

Méthodes protégées

Méthode Description
buildSMSString ( ) : string Builds a SMS string.
setProperties ( array $arguments ) Sets the phone number and message for a sms message.

Method Details

__toString() public méthode

Returns the correct QrCode format.
public __toString ( ) : string
Résultat string

buildSMSString() protected méthode

Builds a SMS string.
protected buildSMSString ( ) : string
Résultat string

create() public méthode

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

setProperties() protected méthode

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

Property Details

$message protected_oe property

The SMS message.
protected string $message
Résultat string

$phoneNumber protected_oe property

The phone number.
protected string $phoneNumber
Résultat string

$prefix protected_oe property

The prefix of the QrCode.
protected string $prefix
Résultat string

$separator protected_oe property

The separator between the variables.
protected string $separator
Résultat string