ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Psr\Http\Message\ServerRequestFactoryInterface Interface Reference
+ Collaboration diagram for Psr\Http\Message\ServerRequestFactoryInterface:

Public Member Functions

 createServerRequest (string $method, $uri, array $serverParams=[])
 Create a new server request. More...
 

Detailed Description

Definition at line 5 of file ServerRequestFactoryInterface.php.

Member Function Documentation

◆ createServerRequest()

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.

Parameters
string$methodThe HTTP method associated with the request.
UriInterface | string$uriThe URI associated with the request. If the value is a string, the factory MUST create a UriInterface instance based on it.
array$serverParamsArray of SAPI parameters with which to seed the generated request instance.
Returns
ServerRequestInterface

The documentation for this interface was generated from the following file: