Boot setup components.

@return void
964510
protected function bootComponents()
    {
        $config = $this->config();

        foreach ($this->componentInstances as $instance) {
            $instance->boot($this->app, $config);
        }
    }
877609
public function boot()
    {
        $root = __DIR__.'/../../';
        // Load views
        $this->loadViewsFrom($root . 'resources/views', 'gbrock');

        // Publish views
        $this->publishes([
            $root . 'resources/views' => base_path('resources/views/vendor/gbrock'),
        ]);

        // Publish configuration
        $this->publishes([
            $root . 'config/tables.php' => config_path('gbrock-tables.php'),
        ]);

        // Merge user config, passing in our defaults
        $this->mergeConfigFrom(
            $root . 'config/tables.php', 'gbrock-tables'
        );

        // Publish assets
//        $this->publishes([
//            $root . 'build/assets' => public_path('vendor/gbrock/tables'),
//        ], 'public');
    }
776917
public function bootExtensionComponents()
    {
        $path = __DIR__ . '/../';
        $this->addConfigComponent('antares/logger', 'antares/logger', "{$path}/resources/config");
        $this->addLanguageComponent('antares/logger', 'antares/logger', "{$path}/resources/lang");
        $this->addViewComponent('antares/logger', 'antares/logger', "{$path}/resources/views");
        $this->bootMemory();
        $this->app->register('Antares\\Logger\\Providers\\RouteServiceProvider');
        $this->attachMenu(ErrorLogBreadcrumb::class);
        $this->attachMenu(ActivityLogsBreadcrumbMenu::class);
        $this->attachMenu(RequestLogBreadcrumbMenu::class);
        $this->observeLogger();
    }
974516
public function boot()
    {
        // Helpers
        require_once __DIR__.DIRECTORY_SEPARATOR.'helpers.php';

        // Load views
        $this->loadViewsFrom(__DIR__.DIRECTORY_SEPARATOR.'resources'.DIRECTORY_SEPARATOR.'views', 'cornerstone');

        // Load translations
        $this->loadTranslationsFrom(__DIR__.DIRECTORY_SEPARATOR.'resources'.DIRECTORY_SEPARATOR.'lang', 'cornerstone');

        // Load routes
        $this->loadRoutesFrom(__DIR__.DIRECTORY_SEPARATOR.'Http'.DIRECTORY_SEPARATOR.'routes.php');

        // View Composer
        Container::getInstance()->make(ViewFactory::class)->composer('*', ViewComposerServiceProvider::class);
    }
32548
public function boot()
    {
        PresetCommand::macro('uikit', function ($command) {
            UIkitPreset::install();
            $command->info('UIkit 3 scaffolding installed successfully.');
            $command->info('Please run "npm install && npm run dev" to compile your fresh scaffolding.');
        });

        PresetCommand::macro('uikit-auth', function ($command) {
            UIkitPreset::installAuth();
            $command->info('UIkit 3 scaffolding with auth views installed successfully.');
            $command->info('Please run "npm install && npm run dev" to compile your fresh scaffolding.');
        });
    }
554856
public function boot()
    {
        /*Load views*/
        $this->loadViewsFrom(__DIR__ . '/../../resources/views', 'webed-theme');
        /*Load translations*/
        $this->loadTranslationsFrom(__DIR__ . '/../../resources/lang', 'webed-theme');
        /*Load migrations*/
        $this->loadMigrationsFrom(__DIR__ . '/../../database/migrations');

        $this->publishes([
            __DIR__ . '/../../resources/assets' => resource_path('assets'),
        ], 'webed-assets');
        $this->publishes([
            __DIR__ . '/../../resources/public' => public_path(),
        ], 'webed-public-assets');
    }
46501
public function boot()
    {
        // routs
        if (!$this->app->routesAreCached()) {
            require $this->moduleDir('routes/platformAdmin-routes.php');
        }

        // register views int the form of platformAdmin::home
        $this->loadViewsFrom($this->moduleDir('public/views'), 'platformAdmin');

        // register vendor resources
        $this->publishes([
            $this->moduleDir('public/resources') => public_path('vendor/platformAdmin'),
        ], 'public');

        $this->publishes([
            $this->moduleDir('migrations') => database_path('migrations'),
        ], 'migrations');

    }
514432
public function boot()
    {
        $this->publishes([
            __DIR__.'/../config/langmanGUI.php' => config_path('langmanGUI.php'),
        ], 'config');

        $this->publishes([
            __DIR__.'/../public' => public_path('vendor/langman'),
        ], 'assets');

        $this->loadViewsFrom(__DIR__.'/../resources/views', 'langmanGUI');

        $this->registerRoutes();
    }
1117351
protected function bootExtensionComponents()
    {
        $path = __DIR__ . '/../resources';

        $view = $this->app->make('view');
        $view->composer(['antares/customfields::admin.list', 'antares/customfields::admin.edit'], LeftPane::class);

        $this->addConfigComponent('antares/customfields', 'antares/customfields', "{$path}/config");
        $this->addLanguageComponent('antares/customfields', 'antares/customfields', "{$path}/lang");
        $this->addViewComponent('antares/customfields', 'antares/customfields', "{$path}/views");
        $this->bootMemory();
        $this->bootFormEvents();
        $this->bootMenu();
    }
1207532
public function boot()
    {
        if (config('getrets.enable_example')) {
            $this->loadRoutesFrom(realpath(__DIR__.'/../../routes/web.php'));
        }

        $this->loadTranslationsFrom(realpath(__DIR__.'/../../resources/lang'), 'GetRETS');
        $this->publishes([realpath(__DIR__.'/../../resources/lang') => resource_path('lang/vendor/timitek')], 'translations');

        $this->loadViewsFrom(realpath(__DIR__.'/../../resources/views'), 'GetRETS');
        $this->publishes([realpath(__DIR__.'/../../resources/views') => base_path('resources/views/vendor/timitek/getrets')], 'views');

        $this->loadMigrationsFrom(realpath(__DIR__.'/../../database/migrations'));
        $this->publishes([realpath(__DIR__.'/../../database/migrations') => database_path('migrations')], 'migrations');

        $this->publishes([realpath(__DIR__.'/../../resources/assets') => public_path('assets')], 'public');

        $this->publishes([realpath(__DIR__.'/../../config') => config_path('')], 'config');

        $this->publishes([realpath(__DIR__.'/../../database/seeds') => database_path('seeds')], 'seeds');
    }
1060660
public function boot()
    {
        $source = realpath($raw = __DIR__.'/config/tinker.php') ?: $raw;

        if ($this->app instanceof Application && $this->app->runningInConsole()) {
            $this->publishes([$source => config_path('tinker.php')]);
        }

        $this->mergeConfigFrom($source, 'tinker');
    }
280534
public function boot(){
        $this->bootFacade($this->config['aliases']);
        $this->bootMenuManager();
        $this->bootEloquent($this->config['database']);
        $this->bootModuleManager();
        $this->bootTwig($this->config['twig']);
        $this->bootSentry($this->config['sentry']);
    }
1132019
public function boot()
    {
        // Publish config files
        $this->publishes([
            __DIR__.'/../config/config.php' => app()->basePath() . '/config/entrust.php',
        ]);

        // Register commands
        $this->commands('command.entrust.migration');

        // Register blade directives
        $this->bladeDirectives();
    }
173733
public function boot()
    {
        $this->initMigrations();
        $this->initPermissions();
        $this->initMiddlewares();
        $this->initDirectives();
        $this->initUserObserver();
        $this->initCommands();
    }
742369
protected function bootModuleComponents()
    {
        foreach ($this->app['modules']->enabled() as $module) {
            if ($this->moduleHasBlocks($module)) {
                $this->bootModuleBlocks($module);
            }
        }
    }
359762
public function boot()
    {
        // Load configs files and publish them
        $path = __DIR__ . '/../../config';
        $this->loadYamlFrom($path, $this->namespace, $this->publish);

        // Load more configs and aliases
        parent::boot();
    }
767485
public function boot()
    {
        if ($this->booted) {
            return;
        }

        array_walk($this->loadedProviders, function ($p) {
            $this->bootProvider($p);
        });

        $this->booted = true;
    }