\Endroid\QrCode\WriterSvgWriter

Summary

Methods
Properties
Constants
writeDataUri()
writeFile()
supportsExtension()
getSupportedExtensions()
getName()
writeString()
getContentType()
No public properties found
No constants found
convertColor()
convertErrorCorrectionLevel()
addMargin()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

supportsExtension()

supportsExtension(string  $extension) : boolean

Parameters

string $extension

Returns

boolean

getSupportedExtensions()

getSupportedExtensions() 

{@inheritdoc}

getName()

getName() : string

Returns

string

getContentType()

getContentType() 

{@inheritdoc}

convertErrorCorrectionLevel()

convertErrorCorrectionLevel(string  $errorCorrectionLevel) : string

Parameters

string $errorCorrectionLevel

Returns

string

addMargin()

addMargin(string  $string, integer  $margin, integer  $size) : string

Parameters

string $string
integer $margin
integer $size

Returns

string