RecursiveValidator::hasMetadataFor()
  • References/PHP/Symfony/Component/Validator/Validator

bool hasMetadataFor($object) Returns whether the class is able to return metadata for the given

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

Constrain

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

interface ContextualValidatorInterface A validator in a specific execution context.

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

class RecursiveContextualValidator implements

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

Constrain

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

ContextualValidatorInterface validateProperty(object $object, string $propertyName, array|null $groups = null) Validates a property of an object against the constraints specified for this property. Parameters object $object The object string $propertyName The name of the validated property array|null $groups The validation groups to validate. If none is given, "Default" is assumed Return Value ContextualValidatorInterface This validator

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

class RecursiveValidator implements

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

ContextualValidatorInterface atPath(string $path) Appends the given path to the property path of the context. If called multiple times, the path will always be reset to the context's original path with the given path appended to it. Parameters string $path The path to append Return Value ContextualValidatorInterface This validator

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

ContextualValidatorInterface atPath(string $path) Appends the given path to the property path of the context. If called multiple times, the path will always be reset to the context's original path with the given path appended to it. Parameters string $path The path to append Return Value ContextualValidatorInterface This validator

2025-01-10 15:47:30
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