ContextualValidatorInterface::validate()
  • References/PHP/Symfony/Component/Validator/Validator

ContextualValidatorInterface validate(mixed $value, Constraint|Constraint[] $constraints = null, array|null $groups = null) Validates a value against a constraint or a list of constraints. If no constraint is passed, the constraint {@link \Symfony\Component\Validator\Constraints\Valid} is assumed. Parameters mixed $value The value to validate Constraint|Constraint[] $constraints The constraint(s) to validate against array|null $groups The validation groups to validate. If non

2025-01-10 15:47:30
RecursiveValidator::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
ConstraintViolationBuilder::setPlural()
  • References/PHP/Symfony/Component/Validator/Violation

ConstraintViolationBuilderInterface setPlural(int $number) Sets the number which determines how the plural form of the violation message is chosen when it is translated. Parameters int $number The number for determining the plural form Return Value ConstraintViolationBuilderInterface This builder

2025-01-10 15:47:30
MetadataInterface
  • References/PHP/Symfony/Component/Validator/Mapping

interface MetadataInterface A container for validation metadata. Most importantly, the metadata

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

interface ValidationVisitorInterface deprecated

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

array getRequiredOptions() Returns the name of the required options. Override this method

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

ValidatorBuilderInterface

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

string trans(string $id, array $parameters = array(), string|null $domain = null, string|null $locale = null)

2025-01-10 15:47:30
IsTrueValidator
  • References/PHP/Symfony/Component/Validator/Constraints

class IsTrueValidator extends

2025-01-10 15:47:30