\Endroid\QrCode\Bundle\Twig\ExtensionQrCodeExtension

Summary

Methods
Properties
Constants
getFunctions()
qrcodeUrlFunction()
qrcodeDataUriFunction()
getName()
No public properties found
No constants found
getRouter()
getQrCodeFactory()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

getFunctions()

getFunctions() 

{@inheritdoc}

qrcodeUrlFunction()

qrcodeUrlFunction(string  $text, array  $options = array()) : string

Creates the QR code URL corresponding to the given message.

Parameters

string $text
array $options

Returns

string

qrcodeDataUriFunction()

qrcodeDataUriFunction(string  $text, array  $options = array()) : string

Creates the QR code data corresponding to the given message.

Parameters

string $text
array $options

Returns

string

getName()

getName() 

{@inheritdoc}

getRouter()

getRouter() : \Symfony\Component\Routing\RouterInterface

Returns the router.

Returns

\Symfony\Component\Routing\RouterInterface