Stores an HTTP Client in order to prevent multiple instantiations.
CloneableInstantiable
| Methods |
| public static getHttpClient() Get the stored HTTP Client, or null.
|
| public static setHttpClient(?GuzzleHttp Cache an HTTP Client for later calls. Passing null will unset the cached client.
|
| Properties |
private static $httpClient = NULL
|
| Properties |
private static $httpClient = NULL
|
| Methods |
| public static getHttpClient() Get the stored HTTP Client, or null.
|
| public static setHttpClient(?GuzzleHttp Cache an HTTP Client for later calls. Passing null will unset the cached client.
|