Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
createRequest ($method, $uri, array $headers=[], $body=null, $protocolVersion='1.1') | |
createResponse ($statusCode=200, $reasonPhrase=null, array $headers=[], $body=null, $version='1.1') | |
createStream ($body=null) | |
createUri ($uri='') | |
This class should never be extended. See https://github.com/Nyholm/psr7/blob/master/doc/final.md
createRequest | ( | $method, | |
$uri, | |||
array | $headers = [] , |
||
$body = null , |
|||
$protocolVersion = '1.1' |
|||
) |
Creates a new PSR-7 request.
string | $method | |
string | UriInterface | $uri | |
array | $headers | |
resource | string | StreamInterface | null | $body | |
string | $protocolVersion |
Implémente RequestFactory.
Références $method, et Nyholm\Psr7\$uri.
createResponse | ( | $statusCode = 200 , |
|
$reasonPhrase = null , |
|||
array | $headers = [] , |
||
$body = null , |
|||
$protocolVersion = '1.1' |
|||
) |
Creates a new PSR-7 response.
int | $statusCode | |
string | null | $reasonPhrase | |
array | $headers | |
resource | string | StreamInterface | null | $body | |
string | $protocolVersion |
Implémente ResponseFactory.
Références Symfony\Component\Console\Tester\$statusCode, et $version.
createStream | ( | $body = null | ) |
Creates a new PSR-7 stream.
string | resource | StreamInterface | null | $body |
Implémente StreamFactory.
Références Stream\create().
createUri | ( | $uri = '' | ) |
Creates an PSR-7 URI.
string | UriInterface | $uri |
Implémente UriFactory.
Références Nyholm\Psr7\$uri.