| 1 | <?php |
||
| 8 | abstract class DataTypeAbstract |
||
| 9 | { |
||
| 10 | const INVALID_OPTIONS = 'Option: %s is invalid. You should remove it or check for typo.'; |
||
| 11 | /** |
||
| 12 | * @var string |
||
| 13 | */ |
||
| 14 | protected $key; |
||
| 15 | /** |
||
| 16 | * @var mixed |
||
| 17 | */ |
||
| 18 | protected $datum; |
||
| 19 | /** |
||
| 20 | * @var array |
||
| 21 | */ |
||
| 22 | protected $options = []; |
||
| 23 | |||
| 24 | protected $errorMessageTemplate; |
||
| 25 | |||
| 26 | protected function checkValidOptions(array $options) |
||
| 35 | |||
| 36 | protected function throwException() |
||
| 45 | } |
||
| 46 |