ConstraintValidatorFactoryInterface
in
Specifies an object able to return the correct ConstraintValidatorInterface instance given a Constraint object.
Table of Contents
Methods
- getInstance() : ConstraintValidatorInterface
- Given a Constraint, this returns the ConstraintValidatorInterface object that should be used to verify its validity.
Methods
getInstance()
Given a Constraint, this returns the ConstraintValidatorInterface object that should be used to verify its validity.
public
getInstance(Constraint $constraint) : ConstraintValidatorInterface
Parameters
- $constraint : Constraint