\Endroid\QrCode\WriterBinaryWriter

Summary

Methods
Properties
Constants
writeDataUri()
writeFile()
supportsExtension()
getSupportedExtensions()
getName()
writeString()
getContentType()
No public properties found
No constants found
getMimeType()
No protected properties found
N/A
getMimeTypeFromUrl()
getMimeTypeFromPath()
No private properties found
N/A

Methods

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

supportsExtension()

supportsExtension(string  $extension) : bool

Parameters

string $extension

Returns

bool —

getSupportedExtensions()

getSupportedExtensions() : string[]

Returns

string[] —

getName()

getName() : string

Returns

string —

writeString()

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

Parameters

\Endroid\QrCode\QrCodeInterface $qrCode

Returns

string —

getContentType()

getContentType() : string

Returns

string —

getMimeType()

getMimeType(string  $path) : string

Parameters

string $path

Returns

string —

getMimeTypeFromUrl()

getMimeTypeFromUrl(string  $url) : string

Parameters

string $url

Returns

string —

getMimeTypeFromPath()

getMimeTypeFromPath(string  $path) : string

Parameters

string $path

Returns

string —