ConstraintViolationInterface::getCode()
  • References/PHP/Symfony/Component/Validator

string|null getCode() Returns a machine-digestible error code for the violation.

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

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

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

string getPropertyName() Returns the name of the property.

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

MetadataFactoryInterface

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

int|null getPlural() Returns a number for pluralizing the violation message. For example

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

ConstraintViolationBuilderInterface setParameters(array $parameters) Sets all parameters to be inserted into the violation message. Parameters array $parameters An array with the parameter names as keys and the values to be inserted in their place as values Return Value ConstraintViolationBuilderInterface This builder

2025-01-10 15:47:30
CacheInterface
  • References/PHP/Symfony/Component/Validator/Mapping/Cache

interface CacheInterface Persists ClassMetadata instances in a cache.

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

bool hasPropertyMetadata(string $property) Check if there's any metadata attached to the given

2025-01-10 15:47:30
Type::getRequiredOptions()
  • References/PHP/Symfony/Component/Validator/Constraints

array getRequiredOptions() Returns the name of the required options. Override this method

2025-01-10 15:47:30