| 1 | <?php |
||
| 17 | class ExtReference extends Constraint |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | public $message = 'Reference to "%collection%" is not allowed.'; |
||
| 23 | /** |
||
| 24 | * @var array |
||
| 25 | */ |
||
| 26 | public $collections = []; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Returns the name of the class that validates this constraint. |
||
| 30 | * |
||
| 31 | * @return string |
||
| 32 | */ |
||
| 33 | 2 | public function validatedBy() |
|
| 37 | } |
||
| 38 |