Class ZugferdDocumentValidator - horstoeko/zugferd GitHub Wiki

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 :x:

validateDocument

Summary

Perform the validation of the document

Signature

public function validateDocument(): \ConstraintViolationListInterface
{
}

Returns

Returns a value of type \ConstraintViolationListInterface