PHP Interface Neos\Flow\Validation\Validator\PolyTypeObjectValidatorInterface

Inheritance: extends Neos\Flow\Validation\Validator\ObjectValidatorInterface
Afficher le fichier Open project: neos/flow-development-collection

Méthodes publiques

Méthode Description
canValidate ( mixed $target ) : boolean Checks the given target can be validated by the validator implementation.
getPriority ( ) : integer Return the priority of this validator.

Method Details

canValidate() public méthode

Checks the given target can be validated by the validator implementation.
public canValidate ( mixed $target ) : boolean
$target mixed The object or class name to be checked
Résultat boolean TRUE if the target can be validated

getPriority() public méthode

Validators with a high priority are chosen before low priority and only one of multiple capable validators will be used.
public getPriority ( ) : integer
Résultat integer