Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
createServerRequest (string $method, $uri, array $serverParams=[]) | |
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. |
Implémenté dans ServerRequestFactory, et Psr17Factory.