Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
 
 
Florian Eisenmenger 41ccc32b5d checkin 2 år sedan
..
README.md checkin 2 år sedan
ValidationException.php checkin 2 år sedan
ValidationResult.php checkin 2 år sedan

README.md

Validation Library supporting multiple validation errors returned.

ValidationResult object supposed to be created by dedicated validator service which makes a validation and checks whether all entity invariants (business rules that always should be fulfilled) are valid.

ValidationResult represents a container storing all the validation errors that happened during the entity validation.

ValidationException exists to be compatible with the Web-API (SOAP and REST) implementation which currently uses Magento\Framework\Exception\AggregateExceptionInterface returned as a result of ServiceContracts call to support Multi-Error response.