- Full name:
\RobThree\Auth\Providers\Qr\GoogleChartsQrCodeProvider
- Parent class:
\RobThree\Auth\Providers\Qr\BaseHTTPQRCodeProvider
public string $errorcorrectionlevel
public int $margin
public string $encoding
public __construct(bool $verifyssl = false, string $errorcorrectionlevel = 'L', int $margin = 4, string $encoding = 'UTF-8'): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$verifyssl |
bool | |
$errorcorrectionlevel |
string | |
$margin |
int | |
$encoding |
string |
{@inheritdoc}
public getMimeType(): mixed
{@inheritdoc}
public getQRCodeImage(mixed $qrtext, mixed $size): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$qrtext |
mixed | |
$size |
mixed |
public getUrl(string $qrtext, int|string $size): string
Parameters:
Parameter | Type | Description |
---|---|---|
$qrtext |
string | the value to encode in the QR code |
$size |
int|string | the desired size of the QR code |
Return Value:
file contents of the QR code
protected getContent(string $url): string|bool
Parameters:
Parameter | Type | Description |
---|---|---|
$url |
string |