| 1 | <?php declare(strict_types=1);  | 
            ||
| 7 | class SymfonyRequestAdapter implements RequestAdapterInterface  | 
            ||
| 8 | { | 
            ||
| 9 | /**  | 
            ||
| 10 | * @var Request  | 
            ||
| 11 | */  | 
            ||
| 12 | private $request;  | 
            ||
| 13 | |||
| 14 | 1 | public function __construct(Request $request)  | 
            |
| 18 | |||
| 19 | 1 | public function getMethod(): string  | 
            |
| 23 | |||
| 24 | /**  | 
            ||
| 25 | * helper method to build a uri without reordering url parameters in a query string alphabetically  | 
            ||
| 26 | * which the interal Request::getUri function does (called normalize)  | 
            ||
| 27 | *  | 
            ||
| 28 | * @see SymfonyRequest::getUri()  | 
            ||
| 29 | * @see SymfonyRequest::getQueryString()  | 
            ||
| 30 | * @see SymfonyRequest::normalizeQueryString()  | 
            ||
| 31 | */  | 
            ||
| 32 | 1 | public function getUri(): string  | 
            |
| 42 | |||
| 43 | 1 | public function getContent(): string  | 
            |
| 47 | |||
| 48 | 1 | public function getHeader(string $key): ?string  | 
            |
| 52 | }  | 
            ||
| 53 |