\Endroid\QrCode\TestsQrCodeTest

Summary

Methods
Properties
Constants
testReadable()
stringProvider()
testWriteQrCodeByWriterName()
writerNameProvider()
testWriteQrCodeByWriterExtension()
extensionsProvider()
testFactory()
testSetSize()
testSetSizeRounded()
roundedSizeProvider()
testSetLabel()
testSetLogo()
testWriteFile()
testData()
testNonImageData()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

testReadable()

testReadable(string  $text) : void

Parameters

string $text

stringProvider()

stringProvider() : array

Returns

array —

testWriteQrCodeByWriterName()

testWriteQrCodeByWriterName(string  $writerName, ?string  $fileContent) : void

Parameters

string $writerName
?string $fileContent

writerNameProvider()

writerNameProvider() : array

Returns

array —

testWriteQrCodeByWriterExtension()

testWriteQrCodeByWriterExtension(string  $extension, ?string  $fileContent) : void

Parameters

string $extension
?string $fileContent

extensionsProvider()

extensionsProvider() : array

Returns

array —

testFactory()

testFactory() : void

testSetSize()

testSetSize() : void

testSetSizeRounded()

testSetSizeRounded(mixed  $size, mixed  $margin, mixed  $round, mixed  $mode, mixed  $expectedSize) : void

Parameters

mixed $size
mixed $margin
mixed $round
mixed $mode
mixed $expectedSize

roundedSizeProvider()

roundedSizeProvider() : mixed

Returns

mixed —

testSetLabel()

testSetLabel() : void

testSetLogo()

testSetLogo() : void

testWriteFile()

testWriteFile() : void

testData()

testData() : void

testNonImageData()

testNonImageData() : void