Table of contents
Namespace: Com\Tecnick\Barcode\Type\Square\Aztec
enum AztecHint: string
Source: src/Type/Square/Aztec/AztecHint.php:35
Backed enum for the Aztec Code encoding hint: A (automatic, default) or B (binary).
Cases
Methods
fromLoose()
Resolve a loose Aztec hint value to the matching enum case.
Accepts the canonical letter or an enum instance (returned unchanged). Unknown values fall back to Automatic, matching the lenient behavior of Aztec.
public static fromLoose(string|self $value): self
Parameters:
$value(string|self): Hint letter or enum case.
Returns: self