bootstrap.

@return void
975253
public function bootstrap(): void
    {
        if (! $this->app->hasBeenBootstrapped()) {
            $this->app->bootstrapWith($this->bootstrappers());
        }
    }
1311161
public function boot()
    {
        if (! $this->app->routesAreCached()) {
            require __DIR__.'/Routes/routes.php';
        }

        $this->loadTranslationsFrom(__DIR__.'/../resources/lang', 'laravel-modules-base');
        $this->publishes([
            __DIR__.'/../resources/lang' => base_path('resources/lang/vendor/laravel-modules-base'),
        ]);

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

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

        $this->loadViewsFrom(__DIR__.'/../resources/views', 'laravel-modules-base');
        $this->publishes([
            __DIR__.'/../resources/views' => base_path('resources/views/vendor/laravel-modules-base'),
        ]);
    }
688339
public function boot()
    {
        $this->registerTranslations();
        $this->registerConfig();
        $this->registerViews();
        $this->registerFactories();
        $this->loadMigrationsFrom(__DIR__ . '/../Database/Migrations');
    }
961811
protected function bootstrap(): void
	{
		(function($app, $container): void
		{
			include $this->applicationPath . '/bootstrap.php';
		})($this, $this->container);
	}
981003
public function boot()
    {
        $this->loadRoutesFrom(__DIR__.'/routes.php');
        $this->loadViewsFrom(__DIR__.'/../views', 'larrock');
        $this->loadTranslationsFrom(__DIR__.'/../lang', 'larrock');
        $this->loadMigrationsFrom(__DIR__.'/../database/migrations');

        $public_path = public_path();
        if (substr($public_path, -6) === 'public') {
            $public_path .= '_html';
        }

        $this->publishes([
            __DIR__.'/../lang' => resource_path('lang/vendor/larrock'),
        ], 'lang');
        $this->publishes([
            __DIR__.'/../views/front' => base_path('resources/views/vendor/larrock/front'),
        ], 'views-front-core');
        $this->publishes([
            __DIR__.'/../views/admin' => base_path('resources/views/vendor/larrock/admin'),
        ], 'views-admin-core');
        $this->publishes([
            __DIR__.'/../assets/public_html' => $public_path,
            __DIR__.'/../assets/gulpfile' => base_path(),
            __DIR__.'/../assets/bower' => base_path(),
        ], 'assets');
        $this->publishes([
            __DIR__.'/../assets/policy' => $public_path,
        ], 'doc');
        $this->publishes([
            __DIR__.'/../config/larrock-core-adminmenu.php' => config_path('larrock-core-adminmenu.php'),
            __DIR__.'/../config/larrock-sitemap.php' => config_path('larrock-sitemap.php'),
            __DIR__.'/../config/larrock-to-dashboard.php' => config_path('larrock-to-dashboard.php'),
            __DIR__.'/../config/larrock.php' => config_path('larrock.php'),
        ], 'config');

        \Event::subscribe('Larrock\Core\Listeners\CoreEventSubscriber');
    }
280090
public function boot()
    {
        $this->registerRoutePatterns();
        $this->registerRoutes();

        /** @TODO Probably we can move this to routes file */
        Passport::routes();

        Passport::tokensExpireIn(Carbon::now()->addDays(15));

        Passport::refreshTokensExpireIn(Carbon::now()->addDays(30));

        Resource::withoutWrapping();

        $this->registerPolicies();
        $this->registerMigrations();
        $this->registerFactories();
        $this->registerMiddleware();
        $this->registerViews();
        $this->registerPublishes();
        $this->registerTranslations();
        $this->registerValidators();

        if (class_exists('Breadcrumbs')) {
            require __DIR__ . '/../../../routes/breadcrumbs.php';
        }
    }
699756
public function bootstrap()
    {
        if ( ! $this->app->hasBeenBootstrapped())
            $this->app->bootstrapWith($this->bootstrappers);
        $this->app->loadDeferredProviders();
    }
659333
public function boot()
    {
        $this->publishes([
            __DIR__.'/../config/media.php' => config_path('media.php')
        ], 'config');

        $this->publishes([
            __DIR__ . '/../migrations' => $this->app->databasePath() . '/migrations'
        ], 'migrations');
    }
288070
public function boot()
    {
        if (!$this->isLumen()) {
            $this->publishes([
                $this->getConfigPath() => config_path('acl.php'),
            ], 'config');
        }

        $this->app->make(DoctrineManager::class)->onResolve(function () {
            $this->definePermissions(
                $this->app->make(Gate::class),
                $this->app->make(PermissionManager::class)
            );
        });
    }
155706
public function boot()
    {
        $this->setDefaultTheme();
        $this->bootCustomBladeDirectives();
        $this->registerViews();
        $this->bootTranslations();
        $this->bootDebugbar();
    }
262316
public function boot()
	{
        $this->publishes([
            __DIR__.'/../config/config.php' => config_path('js-localization.php')
        ]);

        $this->publishes([
            __DIR__.'/../public/js/localization.min.js' => public_path('vendor/js-localization/js-localization.min.js'),
        ], 'public');
        
        $this->mergeConfigFrom(
            __DIR__.'/../config/config.php', 'js-localization'
        );
        
		$this->loadViewsFrom(__DIR__.'/../resources/views', 'js-localization');
        
        $this->registerRefreshCommand();
        $this->registerExportCommand();
	}
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');


	}
96153
public function bootstrap()
    {
        $config = Zilf::$container->getShare('config');

        $this->loadConfigurationFiles($config);

        Zilf::$app->environment = $config->get('app.app_env');

        date_default_timezone_set($config->get('app.timezone', 'UTC'));

        mb_internal_encoding('UTF-8');
    }
1156875
public function boot()
    {
        if ($this->app->has('view')) {
            $viewPath = __DIR__ . '/../resources/views';
            $this->loadViewsFrom($viewPath, 'ide-helper');
        }

        $configPath = __DIR__ . '/../config/ide-helper.php';
        if (function_exists('config_path')) {
            $publishPath = config_path('ide-helper.php');
        } else {
            $publishPath = base_path('config/ide-helper.php');
        }
        $this->publishes([$configPath => $publishPath], 'config');
    }
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();
    }
810469
public function boot()
    {
        $this->loadConfigs();
        $this->loadMigrations();
        $this->loadViews();
        $this->loadCommands();
        $this->loadPublishable();
    }
1188100
public function boot()
    {
        view()->composer($this->view(), function ($view) {
            $view->with('data', $this->data());
        });
    }