Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
createResponse ( $statusCode=200, $reasonPhrase=null, array $headers=[], $body=null, $protocolVersion='1.1') | |
Factory for PSR-7 Response.
This factory contract can be reused in Message and Server Message factories.
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émenté dans HttplugFactory.