Documentation

MetadataParserTrait

Table of Contents

extractHeader()  : mixed
Extract a single header from the response into the result.
extractHeaders()  : mixed
Extract a map of headers with an optional prefix from the response.
extractStatus()  : mixed
Places the status code of the response into the result array.

Methods

extractStatus()

Places the status code of the response into the result array.

protected extractStatus(mixed $name, ResponseInterface $response, array<string|int, mixed> &$result) : mixed
Parameters
$name : mixed
$response : ResponseInterface
$result : array<string|int, mixed>
Return values
mixed

Search results