| 1 | <?php |
||
| 9 | final class EncodingBuilder implements Objects\EncodingFactory |
||
| 10 | { |
||
| 11 | use Properties\OptionalExtensions; |
||
| 12 | |||
| 13 | private $allowReserved = false; |
||
| 14 | |||
| 15 | private $contentType; |
||
| 16 | |||
| 17 | private $explode = true; |
||
| 18 | |||
| 19 | private $headers; |
||
| 20 | |||
| 21 | private $style; |
||
| 22 | |||
| 23 | 4 | public function createEncoding(): Objects\Encoding |
|
| 34 | |||
| 35 | 1 | public function setAllowReserved(bool $allowReserved): self |
|
| 41 | |||
| 42 | 3 | public function setContentType(string $contentType): self |
|
| 48 | |||
| 49 | 1 | public function setExplode(bool $explode): self |
|
| 55 | |||
| 56 | 1 | public function setHeaders(Objects\HeadersFactory $headers): self |
|
| 62 | |||
| 63 | 1 | public function setStyle(string $style): self |
|
| 69 | |||
| 70 | 4 | private function getContentType(): ?string |
|
| 74 | |||
| 75 | 4 | private function getHeaders(): ?Objects\HeadersFactory |
|
| 79 | |||
| 80 | 4 | private function getStyle(): ?string |
|
| 84 | |||
| 85 | 4 | private function isAllowReserved(): bool |
|
| 89 | |||
| 90 | 4 | private function isExplode(): bool |
|
| 94 | } |
||
| 95 |