ExecutionContextInterface::getObject()
  • References/PHP/Symfony/Component/Validator/Context

object|null getObject() Returns the currently validated object. If the validator is currently

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
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
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::addViolation()
  • References/PHP/Symfony/Component/Validator/Context

addViolation(string $message, array $parameters = array()) Adds a violation at the current node of

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

interface ExecutionContextFactoryInterface Creates instances of {@link ExecutionContextInterface}

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
ExecutionContextInterface::setGroup()
  • References/PHP/Symfony/Component/Validator/Context

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

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
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