Total Complexity | 4 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
7 | trait ValueLiteralTrait |
||
8 | { |
||
9 | |||
10 | /** |
||
11 | * @var ValueNodeInterface|SerializationInterface|null |
||
12 | */ |
||
13 | protected $value; |
||
14 | |||
15 | /** |
||
16 | * @return ValueNodeInterface|null |
||
17 | */ |
||
18 | public function getValue(): ?ValueNodeInterface |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * @return array |
||
25 | */ |
||
26 | public function getValueAsArray(): array |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * @param ValueNodeInterface|null $value |
||
33 | * @return $this |
||
34 | */ |
||
35 | public function setValue(?ValueNodeInterface $value) |
||
41 |