src/FoundationServiceProvider.php
public function register()
    {
        parent::register();

        $this->registerConfig();
        $this->registerSidebarItems();

        $this->registerProviders([
            Providers\PackagesServiceProvider::class,
            Providers\AuthorizationServiceProvider::class,
            Providers\RouteServiceProvider::class,
            Providers\ViewComposerServiceProvider::class,
        ]);
        $this->registerModuleProviders();
        $this->registerConsoleServiceProvider(Providers\CommandServiceProvider::class);

        $this->registerFoundationService();
    }
public function register()
    {
        parent::register();

        $this->registerConfig();
        $this->registerSidebarItems();

        $this->registerProviders([
            Providers\PackagesServiceProvider::class,
            Providers\AuthorizationServiceProvider::class,
            Providers\RouteServiceProvider::class,
            Providers\ViewComposerServiceProvider::class,
        ]);
        $this->registerModuleProviders();
        $this->registerConsoleServiceProvider(Providers\CommandServiceProvider::class);

        $this->registerFoundationService();
    }
public function register ( ) { parent :: register ( ) ; $ this -> registerConfig ( ) ; $ this -> registerSidebarItems ( ) ; $ this -> registerProviders ( [ Providers \ PackagesServiceProvider :: class , Providers \ AuthorizationServiceProvider :: class , Providers \ RouteServiceProvider :: class , Providers \ ViewComposerServiceProvider :: class , ] ) ; $ this -> registerModuleProviders ( ) ; $ this -> registerConsoleServiceProvider ( Providers \ CommandServiceProvider :: class ) ; $ this -> registerFoundationService ( ) ; }
Register the service provider.
Register the service provider .