Skip to content

Latest commit

 

History

History
204 lines (73 loc) · 1.77 KB

GoogleChartsQrCodeProvider.md

File metadata and controls

204 lines (73 loc) · 1.77 KB

GoogleChartsQrCodeProvider

Properties

errorcorrectionlevel

public string $errorcorrectionlevel

margin

public int $margin

encoding

public string $encoding

Methods

__construct

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

getMimeType

{@inheritdoc}

public getMimeType(): mixed

getQRCodeImage

{@inheritdoc}

public getQRCodeImage(mixed $qrtext, mixed $size): mixed

Parameters:

Parameter Type Description
$qrtext mixed
$size mixed

getUrl

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


Inherited methods

getContent

protected getContent(string $url): string|bool

Parameters:

Parameter Type Description
$url string