\Endroid\QrCode\FactoryQrCodeFactory

Summary

Methods
Properties
Constants
__construct()
create()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
getOptionsResolver()
createOptionsResolver()
$writerRegistry
$optionsResolver
$defaultOptions
$definedOptions
N/A

Properties

$writerRegistry

$writerRegistry

$optionsResolver

$optionsResolver : \Symfony\Component\OptionsResolver\OptionsResolver

Type

OptionsResolver

$defaultOptions

$defaultOptions : array<string,mixed>

Type

array

$definedOptions

$definedOptions : array<int,string>

Type

array

Methods

__construct()

__construct(array<string,mixed>  $defaultOptions = [], \Endroid\QrCode\WriterRegistryInterface  $writerRegistry = null) : mixed

Parameters

array $defaultOptions
\Endroid\QrCode\WriterRegistryInterface $writerRegistry

Returns

mixed —

create()

create(string  $text = '', array  $options = []) : \Endroid\QrCode\QrCodeInterface

Parameters

string $text
array $options

Returns

\Endroid\QrCode\QrCodeInterface —

getOptionsResolver()

getOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver

Returns

\Symfony\Component\OptionsResolver\OptionsResolver —

createOptionsResolver()

createOptionsResolver() : \Symfony\Component\OptionsResolver\OptionsResolver

Returns

\Symfony\Component\OptionsResolver\OptionsResolver —