Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
createResponse (int $code=200, string $reasonPhrase='') | |
createResponse | ( | int | $code = 200 , |
string | $reasonPhrase = '' |
||
) |
Create a new response.
int | $code | HTTP status code; defaults to 200 |
string | $reasonPhrase | Reason phrase to associate with status code in generated response; if none is provided implementations MAY use the defaults as suggested in the HTTP specification. |
Implémenté dans Psr17Factory, et ResponseFactory.