|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| __construct (ObjectManagerInterface $objectManager, ValidatorResultInterfaceFactory $validatorResult) | |
| validate ($entity, array $validators, $context=null) | |
Class Validator
Definition at line 17 of file Validator.php.
| __construct | ( | ObjectManagerInterface | $objectManager, |
| ValidatorResultInterfaceFactory | $validatorResult | ||
| ) |
Validator constructor.
| ObjectManagerInterface | $objectManager | |
| ValidatorResultInterfaceFactory | $validatorResult |
Definition at line 35 of file Validator.php.
| validate | ( | $entity, | |
| array | $validators, | ||
$context = null |
|||
| ) |
| object | $entity | |
| ValidatorInterface[] | $validators | |
| object | null | $context |
| ConfigurationMismatchException |
Definition at line 50 of file Validator.php.