protected function registerDigitalOceanFactory()
    {
        $this->app->singleton('digitalocean.factory', function (Container $app) {
            $adapter = $app['digitalocean.adapterfactory'];

            return new DigitalOceanFactory($adapter);
        });

        $this->app->alias('digitalocean.factory', DigitalOceanFactory::class);
    }