\BaconQrCode\RendererPlainTextRenderer

Summary

Methods
Properties
Constants
__construct()
render()
No public properties found
FULL_BLOCK
UPPER_HALF_BLOCK
LOWER_HALF_BLOCK
EMPTY_BLOCK
No protected methods found
No protected properties found
N/A
No private methods found
$margin
N/A

Constants

FULL_BLOCK

FULL_BLOCK = "█"

UTF-8 full block (U+2588)

UPPER_HALF_BLOCK

UPPER_HALF_BLOCK = "▀"

UTF-8 upper half block (U+2580)

LOWER_HALF_BLOCK

LOWER_HALF_BLOCK = "▄"

UTF-8 lower half block (U+2584)

EMPTY_BLOCK

EMPTY_BLOCK = " "

UTF-8 no-break space (U+00A0)

Properties

$margin

$margin : int

Type

int

Methods

__construct()

__construct(int  $margin = 2) : mixed

Parameters

int $margin

Returns

mixed —

render()

render(\BaconQrCode\Encoder\QrCode  $qrCode) : string

Parameters

\BaconQrCode\Encoder\QrCode $qrCode

Throws

\BaconQrCode\Exception\InvalidArgumentException

if matrix width doesn't match height

Returns

string —