Total Complexity | 6 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
12 | final class LiteralScalarValue implements LiteralValueInterface, ScalarValueInterface |
||
13 | { |
||
14 | |||
15 | private $data; |
||
16 | |||
17 | 8 | public function __construct($data) |
|
23 | 7 | } |
|
24 | |||
25 | 7 | public function getData() |
|
28 | } |
||
29 | |||
30 | 1 | public function createEventIterator(): Iterator |
|
31 | { |
||
32 | 1 | return $this->createGenerator(); |
|
33 | } |
||
34 | |||
35 | 1 | private function createGenerator(): Generator |
|
38 | 1 | } |
|
39 | } |
||
40 |