PHP Class Neos\Flow\Validation\Validator\AggregateBoundaryValidator

Validation over Aggregate Boundaries can hence be forced by making the relation to other Aggregate Roots eager loaded. Note that this validator is not part of the public API and you should not use it manually.
Inheritance: extends GenericObjectValidator
Show file Open project: neos/flow-development-collection

Public Methods

Method Description
validate ( mixed $value ) : Neos\Error\Messages\Result Checks if the given value is valid according to the validator, and returns the Error Messages object which occurred. Will skip validation if value is an uninitialized lazy loading proxy.

Method Details

validate() public method

Checks if the given value is valid according to the validator, and returns the Error Messages object which occurred. Will skip validation if value is an uninitialized lazy loading proxy.
public validate ( mixed $value ) : Neos\Error\Messages\Result
$value mixed The value that should be validated
return Neos\Error\Messages\Result