Méthode | Description | |
---|---|---|
getMetadataFactory ( ) : Symfony\Component\Validator\Mapping\ClassMetadataFactoryInterface | Returns the factory for ClassMetadata instances | |
validate ( object $object, array | null $groups = null ) : |
Validate the given object. | |
validateProperty ( object $object, string $property, array | null $groups = null ) : |
Validate a single property of an object against its current value. | |
validatePropertyValue ( string $class, string $property, string $value, array | null $groups = null ) : |
Validate a single property of an object against the given value. | |
validateValue ( mixed $value, |
Validates a given value against a specific Constraint. |
public getMetadataFactory ( ) : Symfony\Component\Validator\Mapping\ClassMetadataFactoryInterface | ||
Résultat | Symfony\Component\Validator\Mapping\ClassMetadataFactoryInterface |
public validateProperty ( object $object, string $property, array | null $groups = null ) : |
||
$object | object | The object to validate |
$property | string | The name of the property to validate |
$groups | array | null | The validator groups to use for validating |
Résultat |
public validatePropertyValue ( string $class, string $property, string $value, array | null $groups = null ) : |
||
$class | string | The class on which the property belongs |
$property | string | The name of the property to validate |
$value | string | |
$groups | array | null | The validator groups to use for validating |
Résultat |
public validateValue ( mixed $value, |
||
$value | mixed | The value to validate |
$constraint | The constraint to validate against | |
$groups | array | null | The validator groups to use for validating |
Résultat |