Total Complexity | 3 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
20 | abstract class BaseValueParser implements ValueParser |
||
21 | { |
||
22 | protected $raw; |
||
23 | |||
24 | /** |
||
25 | * @inheritDoc |
||
26 | */ |
||
27 | 52 | public function setRaw($rawValue) |
|
28 | { |
||
29 | 52 | $this->raw = $rawValue; |
|
30 | 52 | } |
|
31 | |||
32 | /** |
||
33 | * @inheritDoc |
||
34 | */ |
||
35 | 4 | public function getRaw() |
|
38 | } |
||
39 | |||
40 | |||
41 | 31 | public static function from($rawValue) |
|
46 | } |
||
47 | } |