1 | <?php |
||
9 | final class MediaTypeBuilder implements Objects\MediaTypeFactory |
||
10 | { |
||
11 | use Properties\OptionalExtensions; |
||
12 | |||
13 | private $encodings; |
||
14 | |||
15 | private $examples; |
||
16 | |||
17 | private $schema; |
||
18 | |||
19 | public function createMediaType(): Objects\MediaType |
||
28 | |||
29 | public function setEncodings(Objects\EncodingsFactory $encodings): self |
||
35 | |||
36 | public function setExamples(Objects\ExamplesFactory $examples): self |
||
42 | |||
43 | public function setSchema(Objects\SchemaAggregateFactory $schema): self |
||
49 | |||
50 | private function getEncodings(): ?Objects\EncodingsFactory |
||
54 | |||
55 | private function getExamples(): ?Objects\ExamplesFactory |
||
59 | |||
60 | private function getSchema(): ?Objects\SchemaAggregateFactory |
||
64 | } |
||
65 |