-
Notifications
You must be signed in to change notification settings - Fork 40
Class ZugferdXsdValidator
HorstOeko edited this page Nov 24, 2024
·
8 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
{
}
Returns a value of type \ZugferdXsdValidator
Caution
Deprecated 1.0.65 Use hasNoValidationErrors instead
Returns true if validation passed otherwise false
public function validationPased(): bool
{
}
Returns a value of type bool
Caution
Deprecated 1.0.65 Use hasValidationErrors instead
Returns true if validation failed otherwise false
public function validationFailed(): bool
{
}
Returns a value of type bool
Returns true if validation passed otherwise false
public function hasNoValidationErrors(): bool
{
}
Returns a value of type bool
Returns true if validation errors are present otherwise false
public function hasValidationErrors(): bool
{
}
Returns a value of type bool
Returns an array of all validation errors
public function validationErrors(): array
{
}
Returns a value of type array