AztecHint

Backed enum for the Aztec Code encoding hint: A (automatic, default) or B (binary).

Namespace: Com\Tecnick\Barcode\Type\Square\Aztec

Backing type: string

File: AztecHint.php line 35

Backed enum for the Aztec Code encoding hint: A (automatic, default) or B (binary).

Tags

Cases

Automatic

File: AztecHint.php line 38

Binary

File: AztecHint.php line 41

Methods

fromLoose()

File: AztecHint.php line 52

public static fromLoose(string|self $value) : self

Accepts the canonical letter or an enum instance (returned unchanged). Unknown values fall back to Automatic, matching the lenient behavior of Aztec.

Parameters

  • $value : string|self: Hint letter or enum case.

Return values

self