PHP Class Symfony\Component\Form\Extension\Validator\Constraints\FormValidator

Author: Bernhard Schussek ([email protected])
Inheritance: extends Symfony\Component\Validator\ConstraintValidator
Mostrar archivo Open project: symfony/symfony Class Usage Examples

Public Methods

Method Description
validate ( $form, Constraint $constraint )

Private Methods

Method Description
getValidationGroups ( Symfony\Component\Form\FormInterface $form ) : array Returns the validation groups of the given form.
resolveValidationGroups ( array | callable $groups, Symfony\Component\Form\FormInterface $form ) : array Post-processes the validation groups option for a given form.

Method Details

validate() public method

public validate ( $form, Constraint $constraint )
$constraint Symfony\Component\Validator\Constraint