public function registerActionsCollection()
    {
        $this->app->singleton('ajaxes.collection', function ($app) {
            return new ActionsCollection;
        });

        $this->app->alias('ajaxes.collection', ActionsCollection::class);
    }
public function registerActionsCollection()
    {
        $this->app->singleton('ajaxes.collection', function ($app) {
            return new ActionsCollection;
        });

        $this->app->alias('ajaxes.collection', ActionsCollection::class);
    }
public function registerActionsCollection ( ) { $ this -> app -> singleton ( 'ajaxes.collection' , function ( $ app ) { return new ActionsCollection ; } ) ; $ this -> app -> alias ( 'ajaxes.collection' , ActionsCollection :: class ) ; }
Register collection of AJAX actions.

@return void
Register collection of AJAX actions .