| 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 | public function createEncoding(): Objects\Encoding |
||
| 34 | |||
| 35 | public function setAllowReserved(bool $allowReserved): self |
||
| 41 | |||
| 42 | public function setContentType(string $contentType): self |
||
| 48 | |||
| 49 | public function setExplode(bool $explode): self |
||
| 55 | |||
| 56 | public function setHeaders(Objects\HeadersFactory $headers): self |
||
| 62 | |||
| 63 | public function setStyle(string $style): self |
||
| 69 | |||
| 70 | private function getContentType(): ?string |
||
| 74 | |||
| 75 | private function getHeaders(): ?Objects\HeadersFactory |
||
| 79 | |||
| 80 | private function getStyle(): ?string |
||
| 84 | |||
| 85 | private function isAllowReserved(): bool |
||
| 89 | |||
| 90 | private function isExplode(): bool |
||
| 94 | } |
||
| 95 |