| 1 | <?php |
||
| 7 | final class NativeRenderer implements QueryStringRendererInterface |
||
| 8 | { |
||
| 9 | use QueryStringRendererTrait; |
||
| 10 | |||
| 11 | /** |
||
| 12 | * NativeRenderer constructor. |
||
| 13 | * @param int $encoding |
||
| 14 | */ |
||
| 15 | protected function __construct(int $encoding) |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param int $encoding |
||
| 22 | * @return NativeRenderer |
||
| 23 | * @throws \InvalidArgumentException |
||
| 24 | */ |
||
| 25 | public static function factory(int $encoding = self::DEFAULT_ENCODING): self |
||
| 31 | |||
| 32 | |||
| 33 | /** |
||
| 34 | * @inheritDoc |
||
| 35 | */ |
||
| 36 | public function render(QueryString $queryString): string |
||
| 45 | } |
||
| 46 |