| 1 | <?php |
||
| 16 | abstract class AbstractPropertyValidator implements PropertyValidatorInterface |
||
| 17 | { |
||
| 18 | /** @var string */ |
||
| 19 | protected $sLastErrMsg = ''; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @inheritDoc |
||
| 23 | */ |
||
| 24 | abstract public function isValid($sProperty, JobEntity $oJobEntity); |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @inheritDoc |
||
| 28 | */ |
||
| 29 | 32 | public function getLastErrorMessage() |
|
| 33 | |||
| 34 | /** |
||
| 35 | * @param boolean $bIsValid |
||
| 36 | * @param string $sProperty |
||
| 37 | * @param string $sErrMsgTpl |
||
| 38 | * @return bool |
||
| 39 | */ |
||
| 40 | 32 | protected function returnIsValidHelper($bIsValid, $sProperty, $sErrMsgTpl) |
|
| 51 | } |