Table of contents
Namespace: Com\Tecnick\Pdf
Backing type: string
File: HybridConformance.php line 41
Backed enum for the conformance level of the XML payload of a hybrid electronic document, written as the ConformanceLevel XMP property by MetaInfo::setFacturX(). The backing value is the literal property value.
Not every level is defined by every profile: MINIMUM, BASIC WL and XRECHNUNG belong to Factur-X and ZUGFeRD 2, while COMFORT belongs to ZUGFeRD 1.
Tags
- since: 2026-08-31
- category: Library
- author: Nicola Asuni info@tecnick.com
- copyright: 2002-2026 Nicola Asuni - Tecnick.com LTD
- license: https://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE)
- link: https://github.com/tecnickcom/tc-lib-pdf
Cases
Minimum
File: HybridConformance.php line 43
BasicWl
File: HybridConformance.php line 45
Basic
File: HybridConformance.php line 47
Comfort
File: HybridConformance.php line 49
En16931
File: HybridConformance.php line 51
Extended
File: HybridConformance.php line 53
XRechnung
File: HybridConformance.php line 55
Methods
fromLoose()
File: HybridConformance.php line 68
public static fromLoose(string|self $value) : self
Accepts the property value (case-insensitive, whitespace ignored, so both ‘EN 16931’ and ’en16931’ resolve) or an enum instance (returned unchanged). Unknown values throw.
Parameters
- $value : string|self: Conformance level or enum case.
Tags
- throws: Exception if the value is not a known conformance level.
Return values
self