ClassMetadata::getClassName()
  • References/PHP/Symfony/Component/Validator/Mapping

string getClassName() Returns the name of the backing PHP class.

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

add(ConstraintViolationInterface

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

static string getErrorName(string $errorCode) Returns the name of the given error

2025-01-10 15:47:30
ConstraintViolationBuilderInterface::addViolation()
  • References/PHP/Symfony/Component/Validator/Violation

addViolation() Adds the violation to the current execution context.

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

Constraint|null getConstraint()

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

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

2025-01-10 15:47:30
ConstraintViolationBuilderInterface::setInvalidValue()
  • References/PHP/Symfony/Component/Validator/Violation

ConstraintViolationBuilderInterface setInvalidValue(mixed $invalidValue) Sets the invalid value that caused this violation. Parameters mixed $invalidValue The invalid value Return Value ConstraintViolationBuilderInterface This builder

2025-01-10 15:47:30
PropertyMetadataContainerInterface deprecated::getPropertyMetadata()
  • References/PHP/Symfony/Component/Validator

PropertyMetadataInterface[]

2025-01-10 15:47:30
MetadataFactoryInterface deprecated::hasMetadataFor()
  • References/PHP/Symfony/Component/Validator

bool hasMetadataFor(mixed $value) Returns whether the class is able to return metadata for the

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

bool hasConstraints() Returns whether this element has any constraints.

2025-01-10 15:47:30