PHP Class SimpleSoftwareIO\QrCode\DataTypes\PhoneNumber

Author: SimpleSoftware [email protected]
Inheritance: implements SimpleSoftwareIO\QrCode\DataTypes\DataTypeInterface
Show file Open project: simplesoftwareio/simple-qrcode Class Usage Examples

Protected Properties

Property Type Description
$phoneNumber The phone number.
$prefix string The prefix of the QrCode.

Public Methods

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

Method Details

__toString() public method

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

create() public method

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

Property Details

$phoneNumber protected property

The phone number.
protected $phoneNumber

$prefix protected property

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