|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Collaboration diagram for Psr\Http\Message\ServerRequestFactoryInterface:Public Member Functions | |
| createServerRequest (string $method, $uri, array $serverParams=[]) | |
| Create a new server request. More... | |
Definition at line 5 of file ServerRequestFactoryInterface.php.
| Psr\Http\Message\ServerRequestFactoryInterface::createServerRequest | ( | string | $method, |
| $uri, | |||
| array | $serverParams = [] |
||
| ) |
Create a new server request.
Note that server-params are taken precisely as given - no parsing/processing of the given values is performed, and, in particular, no attempt is made to determine the HTTP method or URI, which must be provided explicitly.
| string | $method | The HTTP method associated with the request. |
| UriInterface | string | $uri | The URI associated with the request. If the value is a string, the factory MUST create a UriInterface instance based on it. |
| array | $serverParams | Array of SAPI parameters with which to seed the generated request instance. |