Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques statiques | |
static | toArray (ResponseInterface $response) |
static | fromArray (array $serializedResponse) |
Fonctions membres privées statiques | |
static | getValueFromKey (array $data, string $key, string $message=null) |
Serialize or deserialize response messages to/from arrays.
This class provides functionality for serializing a ResponseInterface instance to an array, as well as the reverse operation of creating a Response instance from an array representing a message.
|
static |
Deserialize a response array to a response instance.
Exception |
Références Response\$reasonPhrase, Response\$statusCode, et DeserializationException\forResponseFromArray().
|
staticprivate |
|
static |
Serialize a response message to an array.
Références MessageInterface\getBody(), MessageInterface\getHeaders(), MessageInterface\getProtocolVersion(), ResponseInterface\getReasonPhrase(), et ResponseInterface\getStatusCode().