Adds the given validator for validation of the specified property.
public addPropertyValidator ( string $propertyName, Neos\Flow\Validation\Validator\ValidatorInterface $validator ) : void | ||
$propertyName | string | Name of the property to validate |
$validator | Neos\Flow\Validation\Validator\ValidatorInterface | The property validator |
return | void |