PHP Class Neos\Flow\Validation\Validator\ConjunctionValidator

Inheritance: extends AbstractCompositeValidator
Exibir arquivo Open project: neos/flow-development-collection Class Usage Examples

Public Methods

Method Description
validate ( mixed $value ) : Neos\Error\Messages\Result Checks if the given value is valid according to the validators of the conjunction.

Method Details

validate() public method

Every validator has to be valid, to make the whole conjunction valid.
public validate ( mixed $value ) : Neos\Error\Messages\Result
$value mixed The value that should be validated
return Neos\Error\Messages\Result