1 | <?php |
||
9 | abstract class ValueObject implements Definition |
||
10 | { |
||
11 | 152 | public function jsonSerialize(): ?array |
|
23 | |||
24 | /** |
||
25 | * Use this instead of empty maps for required properties to force JSON-object. |
||
26 | */ |
||
27 | 10 | protected static function emptyObject(): stdClass |
|
31 | |||
32 | 10 | protected function normalizeOptionalProperties(): array |
|
36 | |||
37 | 80 | protected function normalizeRequiredProperties(): array |
|
41 | } |
||
42 |