ValidatorInterface::validateProperty()
  • References/PHP/Symfony/Component/Validator/Validator

Constrain

2025-01-10 15:47:30
ClassBasedInterface deprecated
  • References/PHP/Symfony/Component/Validator

interface ClassBasedInterface deprecated

2025-01-10 15:47:30
Regex::getHtmlPattern()
  • References/PHP/Symfony/Component/Validator/Constraints

string|null getHtmlPattern() Converts the htmlPattern to a suitable format for HTML5 pattern

2025-01-10 15:47:30
Expression::getDefaultOption()
  • References/PHP/Symfony/Component/Validator/Constraints

string getDefaultOption() Returns the name of the default option. Override this method

2025-01-10 15:47:30
ValidatorInterface::inContext()
  • References/PHP/Symfony/Component/Validator/Validator

ContextualValidatorInterface inContext(ExecutionContextInterface $context) Returns a validator in the given execution context. The returned validator adds all generated violations to the given context. Parameters ExecutionContextInterface $context The execution context Return Value ContextualValidatorInterface The validator for that context

2025-01-10 15:47:30
ExecutionContext::setGroup()
  • References/PHP/Symfony/Component/Validator/Context

setGroup(string|null $group) Sets the currently validated group.

2025-01-10 15:47:30
GlobalExecutionContextInterface deprecated::getValidatorFactory()
  • References/PHP/Symfony/Component/Validator

Con

2025-01-10 15:47:30
ValidatorBuilderInterface::disableAnnotationMapping()
  • References/PHP/Symfony/Component/Validator

ValidatorBuilderInterface

2025-01-10 15:47:30
ConstraintViolationBuilder::addViolation()
  • References/PHP/Symfony/Component/Validator/Violation

addViolation() Adds the violation to the current execution context.

2025-01-10 15:47:30
ValidatorBuilderInterface::addXmlMapping()
  • References/PHP/Symfony/Component/Validator

ValidatorBuilderInterface

2025-01-10 15:47:30