BarcodeRenderer

Extends

package

Default

Methods

Creates a code 128 barcode.

createCode128Barcode(string $value) : string

Arguments

$value

string

Response

string

Creates a barcode image for an ean barcode with the correct ean type.

createEanBarcode(string $value, boolean $drawText = true) : string|null

Arguments

$value

string

$drawText

boolean

Response

string|null

Returns the type of the barcode that will be used for the given $ean.

getBarcodeTypeByEanLength(string $ean) : null|string

Arguments

$ean

string

Response

null|string

One of the constants self::BARCODETYPE* or null if no matching barcode was found.