\Endroid\QrCodeWriterRegistry

Summary

Methods
Properties
Constants
loadDefaultWriters()
addWriters()
addWriter()
getWriter()
getDefaultWriter()
setDefaultWriter()
getWriters()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
assertValidWriter()
$writers
$defaultWriter
N/A

Properties

$writers

$writers : \Endroid\QrCode\Writer\WriterInterface[]

Type

WriterInterface[]

$defaultWriter

$defaultWriter : \Endroid\QrCode\Writer\WriterInterface|null

Type

WriterInterface|null

Methods

loadDefaultWriters()

loadDefaultWriters() : void

addWriters()

addWriters(iterable  $writers) : void

Parameters

iterable $writers

addWriter()

addWriter(\Endroid\QrCode\Writer\WriterInterface  $writer) : void

Parameters

\Endroid\QrCode\Writer\WriterInterface $writer

getWriter()

getWriter(string  $name) : \Endroid\QrCode\Writer\WriterInterface

Parameters

string $name

Returns

\Endroid\QrCode\Writer\WriterInterface —

getDefaultWriter()

getDefaultWriter() : \Endroid\QrCode\Writer\WriterInterface

Returns

\Endroid\QrCode\Writer\WriterInterface —

setDefaultWriter()

setDefaultWriter(string  $name) : void

Parameters

string $name

getWriters()

getWriters() : \Endroid\QrCode\Writer\WriterInterface[]

Returns

\Endroid\QrCode\Writer\WriterInterface[] —

assertValidWriter()

assertValidWriter(string  $name) : void

Parameters

string $name