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