| 1 | <?php |
||
| 19 | class RequestFactory implements RequestFactoryInterface, RequestMethodInterface{ |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Create a new request. |
||
| 23 | * |
||
| 24 | * @param string $method The HTTP method associated with the request. |
||
| 25 | * @param \Psr\Http\Message\UriInterface|string $uri The URI associated with the request. If |
||
| 26 | * the value is a string, the factory MUST create a |
||
| 27 | * UriInterface instance based on it. |
||
| 28 | * |
||
| 29 | * @return \Psr\Http\Message\RequestInterface|\chillerlan\HTTP\Psr7\Request |
||
| 30 | */ |
||
| 31 | public function createRequest(string $method, $uri):RequestInterface{ |
||
| 34 | |||
| 35 | } |
||
| 36 |