class Configure

Constants

private OUTPUT_PATH

Properties

static $qrcodeTypes

Methods

__construct(string $interface)

No description

string|null
getPath(string $type, int $num)

Get a absolute path + filename.

Details

at line 23
__construct(string $interface)

No description

Parameters

string $interface

at line 55
string|null getPath(string $type, int $num)

Get a absolute path + filename.

Parameters

string $type

5G or 24G

int $num

qrcode path number

Return Value

string|null

Examples

(new Configure(QROutputInterface::GDIMAGE_PNG))->getPath('5G', 1)
return /Users/cable8mm/Sites/qr-images/resources/export/5G_132_qrcode.png or 24G_132_qrcode.png