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

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

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

@return void
Register thumbnail factory .