public function registerFieldsCollection()
    {
        $this->app->bind('fields.collection', function ($app) {
            return new FieldsCollection($app['fields.finder']);
        });

        $this->app->alias('fields.collection', FieldsCollection::class);
    }
public function registerFieldsCollection()
    {
        $this->app->bind('fields.collection', function ($app) {
            return new FieldsCollection($app['fields.finder']);
        });

        $this->app->alias('fields.collection', FieldsCollection::class);
    }
public function registerFieldsCollection ( ) { $ this -> app -> bind ( 'fields.collection' , function ( $ app ) { return new FieldsCollection ( $ app [ 'fields.finder' ] ) ; } ) ; $ this -> app -> alias ( 'fields.collection' , FieldsCollection :: class ) ; }
Register fields collection.

@return void
Register fields collection .