Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence de l'interface ServerRequestFactoryInterface
+ Graphe d'héritage de ServerRequestFactoryInterface:

Fonctions membres publiques

 createServerRequest (string $method, $uri, array $serverParams=[])
 

Documentation des fonctions membres

◆ createServerRequest()

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.

Paramètres
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.
Renvoie
ServerRequestInterface

Implémenté dans ServerRequestFactory, et Psr17Factory.


La documentation de cette interface a été générée à partir du fichier suivant :