interface SymfonyFieldValidatorInterface (View source)

Interface for FieldValidators which validate using Symfony constraints

Methods

public
Constraint|array
getConstraint()

Get the Symfony constraint to validate against Can return either a single constraint or an array of constraints

Details

Constraint|array getConstraint()

Get the Symfony constraint to validate against Can return either a single constraint or an array of constraints

Return Value

Constraint|array