ServerRequestFactory
class ServerRequestFactory (View source)
Has the ability to create server requests.
Methods
ServerRequestInterface
createServerRequest(string $method, UriInterface|string $uri, array $serverParams = [])
Create a new server request.
Details
at line 39
ServerRequestInterface
createServerRequest(string $method, UriInterface|string $uri, array $serverParams = [])
Create a new server request.
Note that server parameters are taken precisely as given - no parsing/processing of the given values is performed. In particular, no attempt is made to determine the HTTP method or URI, which must be provided explicitly.