Request
in package
Class Request.
Table of Contents
- $client : ClientInterface
- $config : array<string|int, mixed>
- __construct() : mixed
- filterResponse() : mixed
- {@inheritdoc}
- setConfig() : mixed
- createRequest() : RequestInterface
Properties
$client
protected
ClientInterface
$client
$config
protected
array<string|int, mixed>
$config
Methods
__construct()
public
__construct(ClientInterface $client) : mixed
Parameters
- $client : ClientInterface
Return values
mixed —filterResponse()
{@inheritdoc}
public
filterResponse(mixed $content) : mixed
Parameters
- $content : mixed
Return values
mixed —setConfig()
public
setConfig(array<string|int, mixed> $config) : mixed
Parameters
- $config : array<string|int, mixed>
Return values
mixed —createRequest()
protected
createRequest(string $url[, string $method = 'GET' ]) : RequestInterface
Parameters
- $url : string
- $method : string = 'GET'