| 1 | <?php |
||
| 11 | class SmartValidator extends Exception { |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @var mixed |
||
| 15 | */ |
||
| 16 | private $value; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @return mixed |
||
| 20 | */ |
||
| 21 | 1 | public function getValue() { |
|
| 24 | |||
| 25 | /** |
||
| 26 | * @param mixed $value |
||
| 27 | * @return $this |
||
| 28 | */ |
||
| 29 | 1 | public function setValue($value) { |
|
| 34 | |||
| 35 | /** |
||
| 36 | * @param mixed $value |
||
| 37 | */ |
||
| 38 | 1 | public function __construct($value) { |
|
| 46 | |||
| 47 | /** |
||
| 48 | * @return string |
||
| 49 | */ |
||
| 50 | 1 | public function getValueType() { |
|
| 53 | |||
| 54 | } |