function ClientInterface::getConfig
Get a client configuration option.
These options include default request options of the client, a "handler" (if utilized by the concrete client), and a "base_uri" if utilized by the concrete client.
Parameters
string|null $option The config option to retrieve.:
Return value
mixed
Deprecated
ClientInterface::getConfig will be removed in guzzlehttp/guzzle:8.0.
1 method overrides ClientInterface::getConfig()
- Client::getConfig in vendor/
guzzlehttp/ guzzle/ src/ Client.php - Get a client configuration option.
File
-
vendor/
guzzlehttp/ guzzle/ src/ ClientInterface.php, line 83
Class
- ClientInterface
- Client interface for sending HTTP requests.
Namespace
GuzzleHttpCode
public function getConfig(?string $option = null);