-
Notifications
You must be signed in to change notification settings - Fork 27
Class ZugferdXsdValidator
HorstOeko edited this page Nov 18, 2024
·
6 revisions
Class representing the validator against XSD for documents
Constructor
public function __construct(horstoeko\zugferd\ZugferdDocument $document): void;
Name | Type | Allows Null | Description |
---|---|---|---|
document | horstoeko\zugferd\ZugferdDocument | ❌ |
Perform validation of document
public function validate(): \ZugferdXsdValidator;
Caution
Deprecated 1.0.65 Use hasNoValidationErrors instead
Returns true if validation passed otherwise false
public function validationPased(): bool;
Caution
Deprecated 1.0.65 Use hasValidationErrors instead
Returns true if validation failed otherwise false
public function validationFailed(): bool;
Returns true if validation passed otherwise false
public function hasNoValidationErrors(): bool;
Returns true if validation errors are present otherwise false
public function hasValidationErrors(): bool;
Returns an array of all validation errors
public function validationErrors(): array;