| 1 | <?php |
||
| 7 | abstract class ServiceExists extends Constraint |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Has to return a string prefix which in conjunction with the validated value has to exist as a service name. |
||
| 11 | * |
||
| 12 | * @return string |
||
| 13 | */ |
||
| 14 | abstract public function getPrefix(): string; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @return string |
||
| 18 | */ |
||
| 19 | abstract public function getMessage(): string; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * {@inheritdoc} |
||
| 23 | */ |
||
| 24 | final public function validatedBy() |
||
| 28 | } |
||
| 29 |