Total Complexity | 1 |
Total Lines | 15 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | class RequestFactory implements RequestFactoryInterface |
||
16 | { |
||
17 | /** |
||
18 | * Create a new request. |
||
19 | * |
||
20 | * @param string $method The HTTP method associated with the request. |
||
21 | * @param UriInterface|string $uri The URI associated with the request. If |
||
22 | * the value is a string, the factory MUST create a UriInterface |
||
23 | * instance based on it. |
||
24 | * |
||
25 | * @return RequestInterface |
||
26 | */ |
||
27 | 38 | public function createRequest(string $method, $uri): RequestInterface |
|
30 | } |
||
31 | } |