1 | <?php |
||
10 | final class RequestBody extends ValueObject implements RequestBodyAggregate |
||
11 | { |
||
12 | use Properties\MediaTypeContent; |
||
13 | use Properties\OptionalDescription; |
||
14 | use Properties\OptionalExtensions; |
||
15 | |||
16 | private $required; |
||
17 | |||
18 | 5 | public function __construct( |
|
29 | |||
30 | 4 | public function isRequired(): bool |
|
34 | |||
35 | 4 | public function jsonSerialize(): ?array |
|
39 | |||
40 | 4 | protected function normalizeOptionalProperties(): array |
|
47 | |||
48 | 4 | protected function normalizeRequiredProperties(): array |
|
54 | } |
||
55 |