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
DoctrineCache
  • References/PHP/Symfony/Component/Validator/Mapping/Cache

class DoctrineCache implements

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

int|null getPlural() Returns a number for pluralizing the violation message. For example

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

class AllValidator extends

2025-01-10 15:47:30
ClassMetadata::getConstrainedProperties()
  • References/PHP/Symfony/Component/Validator/Mapping

string[] getConstrainedProperties() Returns the names of all constrained properties.

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

class FilesLoader extends

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

mixed getRoot() Returns the value at which validation was started in the object graph. The

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

ContextualValidatorInterface startContext() Starts a new validation context and returns a validator for that context. The returned validator collects all violations generated within its context. You can access these violations with the {@link ContextualValidatorInterface::getViolations()} method. Return Value ContextualValidatorInterface The validator for the new context

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

array getParameters() Returns the parameters to be inserted into the raw violation message.

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

class LengthValidator extends

2025-01-10 15:47:30