\BaconQrCode\CommonEcBlock

Encapsulates the parameters for one error-correction block in one symbol version.

This includes the number of data codewords, and the number of times a block with these parameters is used consecutively in the QR code version's format.

Summary

Methods
Properties
Constants
__construct()
getCount()
getDataCodewords()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$count
$dataCodewords
N/A

Properties

$count

$count : int

How many times the block is used.

Type

int

$dataCodewords

$dataCodewords : int

Number of data codewords.

Type

int

Methods

__construct()

__construct(int  $count, int  $dataCodewords) : mixed

Parameters

int $count
int $dataCodewords

Returns

mixed —

getCount()

getCount() : int

Returns how many times the block is used.

Returns

int —

getDataCodewords()

getDataCodewords() : int

Returns the number of data codewords.

Returns

int —