IQRCodeProvider
in
Table of Contents
- getMimeType() : string
- Returns the appropriate mime type for the QR code that will be generated
- getQRCodeImage() : string
- Generate and return the QR code to embed in a web page
Methods
getMimeType()
Returns the appropriate mime type for the QR code that will be generated
public
getMimeType() : string
Return values
string —getQRCodeImage()
Generate and return the QR code to embed in a web page
public
getQRCodeImage(string $qrtext, int $size) : string
Parameters
- $qrtext : string
-
the value to encode in the QR code
- $size : int
-
the desired size of the QR code
Return values
string —file contents of the QR code