1 | <?php |
||
10 | final class ParameterBuilder implements Objects\ParameterFactory |
||
11 | { |
||
12 | use Properties\OptionalExtensions; |
||
13 | |||
14 | private $allowEmptyValue = false; |
||
15 | |||
16 | private $allowReserved = false; |
||
17 | |||
18 | private $content; |
||
19 | |||
20 | private $deprecated = false; |
||
21 | |||
22 | private $description; |
||
23 | |||
24 | private $examples; |
||
25 | |||
26 | private $explode; |
||
27 | |||
28 | private $in; |
||
29 | |||
30 | private $name; |
||
31 | |||
32 | private $required; |
||
33 | |||
34 | private $schema; |
||
35 | |||
36 | private $style; |
||
37 | |||
38 | 7 | public function createParameter(): Objects\Parameter |
|
56 | |||
57 | 2 | public function createParameterAggregate(): ParameterAggregate |
|
61 | |||
62 | 1 | public function setAllowEmptyValue(bool $allowEmptyValue): self |
|
68 | |||
69 | 1 | public function setAllowReserved(bool $allowReserved): self |
|
75 | |||
76 | public function setContent(Objects\MediaTypesFactory $content): self |
||
82 | |||
83 | 1 | public function setDeprecated(bool $deprecated): self |
|
89 | |||
90 | 1 | public function setDescription(string $description): self |
|
96 | |||
97 | 1 | public function setExamples(Objects\ExamplesFactory $examples): self |
|
103 | |||
104 | 1 | public function setExplode(bool $explode): self |
|
110 | |||
111 | 7 | public function setIn(string $in): self |
|
117 | |||
118 | 7 | public function setName(string $name): self |
|
124 | |||
125 | 1 | public function setRequired(bool $required): self |
|
131 | |||
132 | 1 | public function setSchema(Objects\SchemaAggregateFactory $schema): self |
|
138 | |||
139 | 1 | public function setStyle(string $style): self |
|
145 | |||
146 | 7 | private function getContent(): ?Objects\MediaTypesFactory |
|
150 | |||
151 | 7 | private function getDescription(): ?string |
|
155 | |||
156 | 7 | private function getExamples(): ?Objects\ExamplesFactory |
|
160 | |||
161 | 7 | private function getIn(): string |
|
165 | |||
166 | 7 | private function getName(): string |
|
170 | |||
171 | 7 | private function getSchema(): ?Objects\SchemaAggregateFactory |
|
175 | |||
176 | 7 | private function getStyle(): ?string |
|
180 | |||
181 | 7 | private function isAllowEmptyValue(): bool |
|
185 | |||
186 | 7 | private function isAllowReserved(): bool |
|
190 | |||
191 | 7 | private function isDeprecated(): bool |
|
195 | |||
196 | 7 | private function isExplode(): ?bool |
|
200 | |||
201 | 7 | private function isRequired(): ?bool |
|
205 | } |
||
206 |