public function __construct(array $config = [])
{
$this->config['connection_manager']['preflight_env'] = self::PREFLIGHT_ENV_DEFAULT;
$this->config['client_class'] = Client::class;
if (!empty($config)) {
$this->config = array_merge($this->config, $config);
}
}