Table of contents
Namespace: Com\Tecnick\Barcode\Type\Square\Aztec
enum AztecRange: string
Source: src/Type/Square/Aztec/AztecRange.php:35
Backed enum for the Aztec Code symbol range mode: A (automatic selection between Compact and Full Range, default) or F (force Full Range).
Cases
Automatic = 'A': Automatic selection between Compact (priority) and Full Range (default).FullRange = 'F': Force Full Range mode.
Methods
fromLoose()
Resolve a loose Aztec range mode 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): Range mode letter or enum case.
Returns: self