ExecutionContext::isConstraintValidated()
  • References/PHP/Symfony/Component/Validator/Context

bool isConstraintValidated(string $cacheKey, string $constraintHash) Returns whether a constraint

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

setNode(mixed $value, object|null $object,

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

markObjectAsInitialized(string $cacheKey) Marks that an object was initialized.

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

bool isGroupValidated(string $cacheKey, string $groupHash) Returns whether an object was validated

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

ConstraintViolationBuilderInterface buildViolation(string $message, array $parameters = array()) Returns a builder for adding a violation with extended information. Call {@link ConstraintViolationBuilderInterface::addViolation()} to add the violation when you're done with the configuration: $context->buildViolation('Please enter a number between %min% and %max%.') ->setParameter('%min%', 3) ->setParameter('%max%', 10) ->setTranslationDomain('number_valida

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

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

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

mixed getValue() Returns the value that the validator is currently validating. If you

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

string|null getPropertyName() Returns the property name of the current node. If the metadata

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

setNode(mixed $value, object|null $object,

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

Constrain

2025-01-10 15:47:30