\Endroid\Tests\QrCodeQrCodeTest

Summary

Methods
Properties
Constants
testGetDataUri()
testGetImageString()
testGetQrCodeWithLogoString()
testRenderHttpAddress()
No public properties found
No constants found
getQrCode()
createQrCode()
createQrCodeWithLogo()
$qrCode
N/A
No private methods found
No private properties found
N/A

Properties

Methods

testGetDataUri()

testGetDataUri() 

Tests if a valid data uri is returned.

testGetImageString()

testGetImageString() 

Tests if a valid image string is returned.

Throws

\Endroid\QrCode\Exceptions\ImageFunctionFailedException
\Endroid\QrCode\Exceptions\ImageFunctionUnknownException

testGetQrCodeWithLogoString()

testGetQrCodeWithLogoString() 

Tests if a valid image string is returned.

Throws

\Endroid\QrCode\Exceptions\ImageFunctionFailedException
\Endroid\QrCode\Exceptions\ImageFunctionUnknownException

testRenderHttpAddress()

testRenderHttpAddress() 

For https://github.com/endroid/QrCode/issues/49.

getQrCode()

getQrCode() 

Returns a QR code.

createQrCodeWithLogo()

createQrCodeWithLogo() : \Endroid\QrCode\QrCode

Creates a QR code with a logo.

Returns

\Endroid\QrCode\QrCode