프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$groups | array |
메소드 | 설명 | |
---|---|---|
__construct ( mixed $options = null ) | Initializes the constraint with options. | |
__set ( $option, $value ) | Unsupported operation. | |
addImplicitGroupName ( string $group ) | Adds the given group if this constraint is in the Default group | |
getDefaultOption ( ) : string | Returns the name of the default option | |
getRequiredOptions ( ) : array | Returns the name of the required options | |
getTargets ( ) : string | array | Returns whether the constraint can be put onto classes, properties or both | |
validatedBy ( ) : string | Returns the name of the class that validates this constraint |
public __construct ( mixed $options = null ) | ||
$options | mixed | The options (as associative array) or the value for the default option (any other type) |
public addImplicitGroupName ( string $group ) | ||
$group | string |
public getDefaultOption ( ) : string | ||
리턴 | string |
public getRequiredOptions ( ) : array | ||
리턴 | array |
public getTargets ( ) : string | array | ||
리턴 | string | array | One or more constant values |
public validatedBy ( ) : string | ||
리턴 | string |