| 1 | <?php |
||
| 18 | class Command extends AbstractPropertyValidator implements PropertyValidatorInterface |
||
| 19 | { |
||
| 20 | const DIC_NAME = 'CommandValidator'; |
||
| 21 | const MESSAGE_TEMPLATE = '"%s" is not allowed to be empty for non docker jobs'; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @inheritDoc |
||
| 25 | */ |
||
| 26 | 3 | public function isValid($sProperty, JobEntityInterface $oJobEntity) |
|
| 34 | |||
| 35 | /** |
||
| 36 | * @param JobEntityInterface $oJobEntity |
||
| 37 | * @return bool |
||
| 38 | */ |
||
| 39 | 3 | private function isCommandPropertyValid(JobEntityInterface $oJobEntity) |
|
| 53 | } |