\Endroid\QrCode\WriterWriterInterface

Summary

Methods
Constants
writeString()
writeDataUri()
writeFile()
getContentType()
supportsExtension()
getSupportedExtensions()
getName()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

writeString()

writeString(\Endroid\QrCode\QrCodeInterface  $qrCode) : string

Parameters

\Endroid\QrCode\QrCodeInterface $qrCode

Returns

string —

writeDataUri()

writeDataUri(\Endroid\QrCode\QrCodeInterface  $qrCode) : string

Parameters

\Endroid\QrCode\QrCodeInterface $qrCode

Returns

string —

writeFile()

writeFile(\Endroid\QrCode\QrCodeInterface  $qrCode, string  $path) : void

Parameters

\Endroid\QrCode\QrCodeInterface $qrCode
string $path

getContentType()

getContentType() : string

Returns

string —

supportsExtension()

supportsExtension(string  $extension) : bool

Parameters

string $extension

Returns

bool —

getSupportedExtensions()

getSupportedExtensions() : string[]

Returns

string[] —

getName()

getName() : string

Returns

string —