RequestFactoryInterface
in
Table of Contents
Methods
- createRequest() : RequestInterface
- Create a new request.
Methods
createRequest()
Create a new request.
public
createRequest(string $method, UriInterface|string $uri) : RequestInterface
Parameters
- $method : string
-
The HTTP method associated with the request.
- $uri : UriInterface|string
-
The URI associated with the request. If the value is a string, the factory MUST create a UriInterface instance based on it.