Validate a single property of an object against the given value.
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 |