Symfony\Component\Form\Extension\Validator\Constraints\FormValidator
- Author: Bernhard Schussek <bschussek@gmail.com>
Synopsis
class FormValidator
extends ConstraintValidator
{
- // members
- private ServerParams $serverParams;
- // Inherited members from ConstraintValidator
- protected ExecutionContextInterface $context;
- // methods
- public void __construct()
- public void validate()
- private static Boolean allowDataWalking()
- private static array getValidationGroups()
- private static ClickableInterface|null findClickedButton()
- private static array resolveValidationGroups()
- // Inherited methods from ConstraintValidator
- public void initialize()
Hierarchy
Members
Methods
private
- allowDataWalking() — Returns whether the data of a form may be walked.
- findClickedButton() — Extracts a clicked button from a form tree, if one exists.
- getValidationGroups() — Returns the validation groups of the given form.
- resolveValidationGroups() — Post-processes the validation groups option for a given form.
public
- __construct() — Creates a validator with the given server parameters.
- validate() — {@inheritdoc}
Inherited from Symfony\Component\Validator\ConstraintValidator
public
- initialize() — {@inheritDoc}