class Client extends Client implements LoggerAwareInterface (View source)

Traits

Trait LoggerAwareTrait A trait used with LoggerAwareInterface

LoggerAwareTrait

Properties

protected LoggerInterface|null $logger

Methods

getLoggerChannel()

No description

LoggerInterface|null
getLogger()

Get the currently configured logger.

setLogger(LoggerInterface $value = null)

Set the currently configured logger.

ResponseInterface
send(RequestInterface $request, array $options = [])

No description

ResponseInterface
request($method, $uri = '', array $options = [])

No description

Details

getLoggerChannel()

No description

LoggerInterface|null getLogger()

Get the currently configured logger.

Return Value

LoggerInterface|null

Client setLogger(LoggerInterface $value = null)

Set the currently configured logger.

Parameters

LoggerInterface $value

Return Value

Client

ResponseInterface send(RequestInterface $request, array $options = [])

No description

Parameters

RequestInterface $request
array $options

Return Value

ResponseInterface

ResponseInterface request($method, $uri = '', array $options = [])

No description

Parameters

$method
$uri
array $options

Return Value

ResponseInterface