Bootstrap application service.
10655
public function boot()
    {
        $configPath = __DIR__ . '/../config/api-debugger.php';
        $this->publishes([$configPath => config_path('api-debugger.php')]);
        $this->mergeConfigFrom($configPath, 'api-debugger');

        // Register collections only for debug environment.
        $config = $this->app['config'];
        if ($config['api-debugger.enabled']) {
            $this->registerCollections($config['api-debugger.collections']);
        }
    }
1114554
public function boot()
    {
        $this->loadTranslationsFrom(__DIR__ . '/../../translations', 'verification');
        $this->loadViewsFrom(__DIR__ . '/../../views', 'verification');

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

        $this->publishes([
            __DIR__ . '/../../translations' => resource_path('lang/vendor/verification'),
        ], 'translations');

        $this->publishes([
            __DIR__ . '/../../views' => resource_path('views/vendor/verification'),
        ], 'views');
    }
478622
public function boot()
    {
        if (config('authentication.enableRoutes') and ! $this->app->routesAreCached()) {
            require __DIR__ . '/Http/routes.php';
        }

        $this->loadTranslationsFrom(__DIR__ . '/../resources/lang', 'authentication');
        $this->loadViewsFrom(__DIR__ . '/../resources/views', 'authentication');

        $this->publishes([__DIR__ . '/../database/migrations' => database_path('migrations')], 'migrations');
    }
627938
public function bootstrap(): void
    {
        foreach ($this->bootstrap as $mixed) {
            $component = null;
            if ($mixed instanceof \Closure) {
                $this->debug('Bootstrap with Closure', __METHOD__);
                if (empty($component = call_user_func($mixed, $this))) {
                    continue;
                }
            } elseif (is_string($mixed)) {
                if ($this->has($mixed)) {
                    $component = $this->get($mixed);
                } elseif ($this->hasModule($mixed)) {
                    $component = $this->getModule($mixed);
                } elseif (strpos($mixed, '\\') === false) {
                    throw new InvalidConfigException("Unknown bootstrapping component ID: $mixed");
                }
            }

            if (!isset($component)) {
                $component = $this->createObject($mixed);
            }

            if ($component instanceof BootstrapInterface) {
                $this->debug('Bootstrap with ' . get_class($component) . '::bootstrap()', __METHOD__);
                $component->bootstrap($this);
            } else {
                $this->debug('Bootstrap with ' . get_class($component), __METHOD__);
            }
        }
    }
806823
public function boot()
	        {


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

		$this->publishes(
		                [
		                    __DIR__ . '/resources/views/pagekit' => resource_path('views/vendor/page'),
		                ], 'pagekit-views'
		            );

		$this->publishes(
		                [
		                    __DIR__ . '/resources/views/pagekit' => resource_path('views/pagekit'),
		                ], 'pagekit-theme'
		            );

		$this->publishes(
		                [
		                    __DIR__ . '/resources/views/pagekit' => resource_path('views/vendor/page')
		                ], 'pagekit-enveditor'
		            );

		$this->publishes(
		                [
		                    __DIR__ . '/public/css/pagekit' => public_path('css/pagekit'),
		                    __DIR__ . '/public/css/fonts' => public_path('css/pagekit/fonts'),
		                    __DIR__ . '/public/img' => public_path('img'),
		                    __DIR__ . '/public/assets' => public_path('assets')
		                ], 'pagekit-assets'
		            );

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

		if (!$this->app->runningInConsole()) :
		                include_once __DIR__ . '/Helpers/helper.php';
		endif;

		include_once __DIR__ . "/components/components.php";

		$this->pageTheme();

		$views = resource_path( "views/pagekit" );

		$this->loadViewsFrom($views, 'pagekit');


	}
762571
public function boot()
    {
        //$this->setupConfiguration();

        $this->setupRoutes($this->app->router);

        //$this->setupTranslations();

        $this->setupViews();

        //$this->setupAssets();

        $this->setupMigrations();
        //$this->setupSeeds();
    }
651890
public function boot()
    {
        // Set config file
        $this->publishes([
            __DIR__.'/config/panel.php'      => config_path('panel.php'),
            __DIR__.'/config/panel/User.yml' => config_path('panel/User.yml'),
        ], 'config');

        // Set the stylesheets around
        $this->publishes([
            __DIR__.'/assets/css/panel.css'             => public_path('css/panel.css'),
            __DIR__.'/resources/assets/sass/panel.scss' => resource_path('assets/sass/panel.scss'),
        ], 'public');

        // Load routes
        if (!$this->app->routesAreCached()) {
            require __DIR__.'/http/routes.php';
        }

        // Load translation files
        $this->loadTranslationsFrom(__DIR__.'/resources/lang', 'panel');

        $this->publishes([
            __DIR__.'/resources/lang' => resource_path('lang/vendor/panel'),
        ], 'lang');

        // Load views
        $this->loadViewsFrom(__DIR__.'/views', 'panel');
    }
1314045
public function boot()
    {
        if ($this->app->runningInConsole()) {
            $this->publishes([
                __DIR__.'/../../../dist' => web_path('dist')
            ], 'themosis');

            $this->publishes([
                __DIR__.'/../Exceptions/views' => resource_path('views/errors/')
            ], 'themosis-errors');
        }
    }
1333954
public function boot()
    {
        $this->publishes([
            __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR .'config.php' => config_path('jsonapi.php'),
        ]);

        $this->configureJsonApiRequests();
        $this->registerExceptionHandler();
    }
494572
public function bootstrap()
    {
        $this->registry->make('toolbar')
            ->addCollector(new Response($this->registry->make('response')), true);
    }
668867
def bootstrap_app():
    '''
    
    '''
    from salt.netapi.rest_cherrypy import app
    import salt.config

    __opts__ = salt.config.client_config(
            os.environ.get('SALT_MASTER_CONFIG', '/etc/salt/master'))
    return app.get_app(__opts__)
723506
protected function bootstrap()
    {
        if($this->_isBooted) {
            return;
        }

        swoole_set_process_name($this->name . ':master');
        $this->installSignals();
        $this->_isBooted = true;
    }
1067653
public function boot()
    {
        $events = app('events');

        foreach ($this->listen as $event => $listeners) {
            foreach ($listeners as $listener) {
                $events->listen($event, $listener);
            }
        }
    }
1004545
public function boot()
    {
        Nova::serving(function (ServingNova $event) {
            Nova::script('nova-fields', __DIR__.'/../dist/js/field.js');
            Nova::style('nova-fields', __DIR__.'/../dist/css/field.css');
        });

        Route::group($this->routeConfiguration(), function () {
            $this->loadRoutesFrom(__DIR__.'/../routes/api.php');
        });
    }
1099193
public function boot()
    {
        Nova::serving(function (ServingNova $event) {
            Nova::script('nova-checkboxes', __DIR__.'/../dist/js/field.js');
            Nova::style('nova-checkboxes', __DIR__.'/../dist/css/field.css');
        });
    }
1267490
public function boot()
    {
        $this->loadMigrationsFrom(__DIR__ . '/../../../migrations');
        $this->loadRoutesFrom(__DIR__ . '/../../../routes/api.php');
        $this->loadRoutesFrom(__DIR__ . '/../../../routes/web.php');
        $this->loadViewsFrom(__DIR__ . '/../../../views', 'combine');
        $this->publishes([__DIR__ . '/../../../config/combine-core.php' => config_path('combine-core.php')]);
        $this->publishes([__DIR__ . '/../../../views' => resource_path('views/vendor/combine')]);
        $this->registerPolicies();
    }
823208
public function boot()
    {
        $configFile = realpath(__DIR__ . '/../config/json-api.php');

        $this->mergeConfigFrom($configFile, 'json-api');
        $this->publishes([
            $configFile => config_path('json-api.php'),
        ]);

        if (config('json-api.routes.configure', false)) {
            if (!$this->app->routesAreCached()) {
                Route::group([], function (Router $router) {
                    require __DIR__ . '/../routes/api.php';
                });
            }
        }
    }