public function registerThumbnailFactory()
    {
        $this->app->singleton('thumbnail.factory', function ($app) {
            return new ThumbnailFactory($app['thumbnails.collection'], $app);
        });

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