src/ApiClientFactory.php
public static function createApiClient(ClientInterface $guzzleClient = null)
    {
        $guzzleClient = $guzzleClient ? $guzzleClient : new Client();
        $resultDecoder = new ResultDecoder();

        return new ApiClient($guzzleClient, $resultDecoder);
    }
public static function createApiClient(ClientInterface $guzzleClient = null)
    {
        $guzzleClient = $guzzleClient ? $guzzleClient : new Client();
        $resultDecoder = new ResultDecoder();

        return new ApiClient($guzzleClient, $resultDecoder);
    }
@param ClientInterface|null $guzzleClient

@return ApiClient