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.

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

No description

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

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

No description

Parameters

RequestInterface $request
array $options

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

No description

Parameters

$method
$uri
array $options