메소드 | 설명 | |
---|---|---|
getInvalidDetails ( ) | ||
isValid ( $value, array $parameters ) |
메소드 | 설명 | |
---|---|---|
isValidUnique ( $value, |
Performs the regular unique validation. | |
isValidUniqueMany ( array $value, |
Checks whether the unique constraint is valid for a many-to-many field. |
protected isValidUnique ( $value, |
||
$value | the value to validate | |
$data | the data instance to validate with | |
$entity | the entity of the field | |
$field | the field to validate | |
리턴 | boolean | true if everything is valid |
protected isValidUniqueMany ( array $value, |
||
$value | array | the value to check |
$data | the data to perform the check with | |
$entity | the entity to perform the check on | |
$field | the many field to perform the check on | |
리턴 | boolean | true if it is a valid unique many-to-many constraint |