protected function registerSubProviders(Collection $subProviders)
    {
        $subProviders->each(function ($provider) {
            $this->app->register($provider);
        });
    }
protected function registerSubProviders(Collection $subProviders)
    {
        $subProviders->each(function ($provider) {
            $this->app->register($provider);
        });
    }
protected function registerSubProviders ( Collection $ subProviders ) { $ subProviders -> each ( function ( $ provider ) { $ this -> app -> register ( $ provider ) ; } ) ; }
Register domain sub providers.

@param Collection $subProviders
Register domain sub providers .