Total Complexity | 1 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | final class Request implements RequestInterface |
||
12 | { |
||
13 | use RequestTrait; |
||
14 | |||
15 | /** |
||
16 | * @param string $method The HTTP method. |
||
17 | * @param UriInterface|string $uri The URI to request. |
||
18 | * @param array $headers The headers to send with the request. |
||
19 | * @param StreamInterface|string|resource|null $body The body of the request. Must be one of the following: |
||
20 | * - an instance of `StreamInterface`; |
||
21 | * - a string stream identifier (e.g., 'php://temp') or a file path; |
||
22 | * - a valid stream resource; |
||
23 | * - `null`. |
||
24 | * @param string $protocol The HTTP protocol version. |
||
25 | */ |
||
26 | 133 | public function __construct( |
|
36 |