final public function Client::getConfig

Get a configuration setting or all of the configuration settings

Parameters

bool|string $key Configuration value to retrieve. Set to FALSE to retrieve all values of the client.: The object return can be modified, and modifications will affect the client's config.

Return value

mixed|Collection

Overrides ClientInterface::getConfig

File

drupal/core/vendor/guzzle/http/Guzzle/Http/Client.php, line 116

Class

Client
HTTP client

Namespace

Guzzle\Http

Code

public final function getConfig($key = false) {
  return $key ? $this->config
    ->get($key) : $this->config;
}