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

ValidatorInterface

2025-01-10 15:47:30
ExecutionContextInterface::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
ExecutionContext::isConstraintValidated()
  • References/PHP/Symfony/Component/Validator/Context

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

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

string|null getClassName() Returns the class name of the current node. If the metadata

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

string getPropertyPath(string $subPath = '') Returns the property path to the value that the

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

MetadataInterface|null

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

interface ExecutionContextInterface The context of a validation run. The context collects

2025-01-10 15:47:30
ExecutionContext::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
ExecutionContextInterface::getValidator()
  • References/PHP/Symfony/Component/Validator/Context

ValidatorInterface

2025-01-10 15:47:30