1 | <?php declare(strict_types = 1); |
||
38 | class IlluminateRequestToPsr7 implements RequestInterface |
||
39 | { |
||
40 | /** |
||
41 | * @var Request |
||
42 | */ |
||
43 | private $request; |
||
44 | |||
45 | /** |
||
46 | 21 | * @param Request $request |
|
47 | */ |
||
48 | 21 | public function __construct(Request $request) |
|
52 | |||
53 | /** |
||
54 | 1 | * @inheritdoc |
|
55 | */ |
||
56 | 1 | public function getMethod() |
|
60 | |||
61 | /** |
||
62 | 1 | * @inheritdoc |
|
63 | */ |
||
64 | 1 | public function hasHeader($name) |
|
68 | |||
69 | /** |
||
70 | 1 | * @inheritdoc |
|
71 | */ |
||
72 | 1 | public function getHeader($name) |
|
76 | |||
77 | /** |
||
78 | 1 | * @inheritdoc |
|
79 | */ |
||
80 | 1 | public function getProtocolVersion() |
|
84 | |||
85 | /** |
||
86 | 1 | * @inheritdoc |
|
87 | */ |
||
88 | 1 | public function withProtocolVersion($version) |
|
92 | |||
93 | /** |
||
94 | 1 | * @inheritdoc |
|
95 | */ |
||
96 | 1 | public function getHeaders() |
|
100 | |||
101 | /** |
||
102 | 1 | * @inheritdoc |
|
103 | */ |
||
104 | 1 | public function getHeaderLine($name) |
|
108 | |||
109 | /** |
||
110 | 1 | * @inheritdoc |
|
111 | */ |
||
112 | 1 | public function withHeader($name, $value) |
|
116 | |||
117 | /** |
||
118 | 1 | * @inheritdoc |
|
119 | */ |
||
120 | 1 | public function withAddedHeader($name, $value) |
|
124 | |||
125 | /** |
||
126 | 1 | * @inheritdoc |
|
127 | */ |
||
128 | 1 | public function withoutHeader($name) |
|
132 | |||
133 | /** |
||
134 | 1 | * @inheritdoc |
|
135 | */ |
||
136 | 1 | public function getBody() |
|
140 | |||
141 | /** |
||
142 | 1 | * @inheritdoc |
|
143 | */ |
||
144 | 1 | public function withBody(StreamInterface $body) |
|
148 | |||
149 | /** |
||
150 | 1 | * @inheritdoc |
|
151 | */ |
||
152 | 1 | public function getRequestTarget() |
|
156 | |||
157 | /** |
||
158 | 1 | * @inheritdoc |
|
159 | */ |
||
160 | 1 | public function withRequestTarget($requestTarget) |
|
164 | |||
165 | /** |
||
166 | 1 | * @inheritdoc |
|
167 | */ |
||
168 | 1 | public function withMethod($method) |
|
172 | |||
173 | /** |
||
174 | 1 | * @inheritdoc |
|
175 | */ |
||
176 | 1 | public function getUri() |
|
180 | |||
181 | /** |
||
182 | * @inheritdoc |
||
183 | * |
||
184 | 1 | * @SuppressWarnings(PHPMD.BooleanArgumentFlag) |
|
185 | */ |
||
186 | 1 | public function withUri(UriInterface $uri, $preserveHost = false) |
|
190 | } |
||
191 |