PHP Class SimpleSoftwareIO\QrCode\DataTypes\SMS

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

Protected Properties

Property 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.

Public Methods

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

Protected Methods

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

Method Details

__toString() public method

Returns the correct QrCode format.
public __toString ( ) : string
return string

buildSMSString() protected method

Builds a SMS string.
protected buildSMSString ( ) : string
return string

create() public method

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

setProperties() protected method

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
return string

$phoneNumber protected_oe property

The phone number.
protected string $phoneNumber
return string

$prefix protected_oe property

The prefix of the QrCode.
protected string $prefix
return string

$separator protected_oe property

The separator between the variables.
protected string $separator
return string