- Full name:
\RobThree\Auth\Providers\Qr\EndroidQrCodeProvider
- This class implements:
\RobThree\Auth\Providers\Qr\IQRCodeProvider
public $bgcolor
public $color
public $margin
public $errorcorrectionlevel
protected $endroid4
public __construct(mixed $bgcolor = 'ffffff', mixed $color = '000000', mixed $margin, mixed $errorcorrectionlevel = 'H'): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$bgcolor |
mixed | |
$color |
mixed | |
$margin |
mixed | |
$errorcorrectionlevel |
mixed |
Returns the appropriate mime type for the QR code that will be generated
public getMimeType(): string
Generate and return the QR code to embed in a web page
public getQRCodeImage(mixed $qrtext, mixed $size): string
Parameters:
Parameter | Type | Description |
---|---|---|
$qrtext |
mixed | the value to encode in the QR code |
$size |
mixed | the desired size of the QR code |
Return Value:
file contents of the QR code
protected qrCodeInstance(mixed $qrtext, mixed $size): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$qrtext |
mixed | |
$size |
mixed |
private handleColor(mixed $color): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$color |
mixed |
private handleErrorCorrectionLevel(mixed $level): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$level |
mixed |