Documentation

RGBArrayModuleValueTrait

Module value checks for output classes that use RGB color arrays

Table of Contents

Methods

moduleValueIsValid()  : bool
getDefaultModuleValue()  : array<string|int, mixed>
prepareModuleValue()  : array<string|int, mixed>

Methods

moduleValueIsValid()

public static moduleValueIsValid(mixed $value) : bool
Parameters
$value : mixed
Tags
implements

\chillerlan\QRCode\Output\QROutputInterface::moduleValueIsValid()

inheritDoc
Return values
bool

getDefaultModuleValue()

protected getDefaultModuleValue(bool $isDark) : array<string|int, mixed>
Parameters
$isDark : bool
Tags
implements

\chillerlan\QRCode\Output\QROutputAbstract::getDefaultModuleValue()

inheritDoc
Return values
array<string|int, mixed>

prepareModuleValue()

protected prepareModuleValue(mixed $value) : array<string|int, mixed>
Parameters
$value : mixed
Tags
implements

\chillerlan\QRCode\Output\QROutputAbstract::prepareModuleValue()

inheritDoc
throws
QRCodeOutputException
Return values
array<string|int, mixed>

        
On this page

Search results