Skip to content

Class ZugferdDocumentValidator

HorstOeko edited this page Nov 24, 2024 · 7 revisions

Summary

Class representing the document validator for incoming documents

Methods

__construct

Summary

Constructor

Signature

public function __construct(horstoeko\zugferd\ZugferdDocument $document): void
{
}

Parameters

Name Type Allows Null Description
document horstoeko\zugferd\ZugferdDocument

validateDocument

Summary

Perform the validation of the document

Signature

public function validateDocument(): \ConstraintViolationListInterface
{
}

Returns

Returns a value of type \ConstraintViolationListInterface