public function registerAssetsCollection()
    {
        $this->app->singleton('assets.collection', function ($app) {
            return new AssetsCollection;
        });

        $this->app->alias('assets.collection', AssetsCollection::class);
    }
public function registerAssetsCollection()
    {
        $this->app->singleton('assets.collection', function ($app) {
            return new AssetsCollection;
        });

        $this->app->alias('assets.collection', AssetsCollection::class);
    }
public function registerAssetsCollection ( ) { $ this -> app -> singleton ( 'assets.collection' , function ( $ app ) { return new AssetsCollection ; } ) ; $ this -> app -> alias ( 'assets.collection' , AssetsCollection :: class ) ; }
Register collection of assets.

@return void
Register collection of assets .