Table of contents
Namespace: Com\Tecnick\Barcode\Type\Square\MicroQrCode
enum MicroQrEccLevel: string
Source: src/Type/Square/MicroQrCode/MicroQrEccLevel.php:36
Backed enum for the Micro QR Code error correction level. The level H of QR Code is not available; the version M1 carries error detection only and is selected by the automatic level.
Cases
Methods
fromLoose()
Resolve a loose error correction level value to the matching enum case.
Accepts the canonical letter or an enum instance (returned unchanged). Unknown values fall back to the automatic level.
public static fromLoose(string|self $value): self
Parameters:
$value(string|self): Error correction level letter or enum case.
Returns: self