PHP Class SimpleSoftwareIO\QrCode\DataTypes\Geo

Inheritance: implements SimpleSoftwareIO\QrCode\DataTypes\DataTypeInterface
Show file Open project: simplesoftwareio/simple-qrcode Class Usage Examples

Protected Properties

Property Type Description
$latitude The latitude.
$longitude The longitude.
$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.

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

$latitude protected property

The latitude.
protected $latitude

$longitude protected property

The longitude.
protected $longitude

$prefix protected property

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

$separator protected property

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