1 | <?php |
||
10 | final class Example extends ValueObject implements ExampleAggregate |
||
11 | { |
||
12 | use Properties\OptionalDescription; |
||
13 | use Properties\OptionalExtensions; |
||
14 | use Properties\OptionalSummary; |
||
15 | |||
16 | private $externalValue; |
||
17 | |||
18 | private $value; |
||
19 | |||
20 | /** |
||
21 | * @param mixed $value |
||
22 | */ |
||
23 | 4 | public function __construct( |
|
36 | |||
37 | 1 | public function getExternalValue(): string |
|
41 | |||
42 | /** |
||
43 | * @return mixed |
||
44 | */ |
||
45 | 3 | public function getValue() |
|
49 | |||
50 | 3 | public function hasExternalValue(): bool |
|
54 | |||
55 | 3 | public function jsonSerialize(): ?array |
|
59 | |||
60 | 3 | protected function normalizeOptionalProperties(): array |
|
69 | } |
||
70 |