Свойство | Type | Description | |
---|---|---|---|
$metadataFactory | |||
$validatorFactory |
Méthode | Description | |
---|---|---|
__construct ( Symfony\Component\Validator\Mapping\ClassMetadataFactoryInterface $metadataFactory, Symfony\Component\Validator\ConstraintValidatorFactoryInterface $validatorFactory ) | ||
getMetadataFactory ( ) | {@inheritDoc} | |
validate ( $object, $groups = null ) | {@inheritDoc} | |
validateProperty ( $object, $property, $groups = null ) | {@inheritDoc} | |
validatePropertyValue ( $class, $property, $value, $groups = null ) | {@inheritDoc} | |
validateValue ( $value, |
{@inheritDoc} |
Méthode | Description | |
---|---|---|
validateGraph ( $root, Closure $walk, $groups = null ) |
public __construct ( Symfony\Component\Validator\Mapping\ClassMetadataFactoryInterface $metadataFactory, Symfony\Component\Validator\ConstraintValidatorFactoryInterface $validatorFactory ) | ||
$metadataFactory | Symfony\Component\Validator\Mapping\ClassMetadataFactoryInterface | |
$validatorFactory | Symfony\Component\Validator\ConstraintValidatorFactoryInterface |
protected validateGraph ( $root, Closure $walk, $groups = null ) | ||
$walk | Closure |
public validateProperty ( $object, $property, $groups = null ) |
public validatePropertyValue ( $class, $property, $value, $groups = null ) |
public validateValue ( $value, |
||
$constraint |