Skip to content

Class OrderDocumentValidator

HorstOeko edited this page Dec 28, 2024 · 1 revision

Summary

Class representing the document validator for incoming documents

Methods

__construct

Summary

Constructor

Signature

public function __construct(horstoeko\orderx\OrderDocument $document): void
{
}

Parameters

Name Type Allows Null Description
document horstoeko\orderx\OrderDocument

validateDocument

Summary

Perform the validation of the document

Signature

public function validateDocument(): \ConstraintViolationListInterface
{
}

Returns

Returns a value of type \ConstraintViolationListInterface