Bootstrap the application events.

@return void
355589
public function boot()
    {
        $this->loadViewsFrom(__DIR__.'/../resources/views/', 'apidoc');

        $this->publishes([
            __DIR__.'/../resources/views' => app()->basePath().'/resources/views/vendor/apidoc',
        ], 'apidoc-views');

        $this->publishes([
            __DIR__.'/../config/apidoc.php' => app()->basePath().'/config/apidoc.php',
        ], 'apidoc-config');

        $this->mergeConfigFrom(__DIR__.'/../config/apidoc.php', 'apidoc');

        if ($this->app->runningInConsole()) {
            $this->commands([
                GenerateDocumentation::class,
                RebuildDocumentation::class,
            ]);
        }
    }
472681
public function boot()
    {
        $this->publishConfiguration();

        $this->loadConfig();

        $this->loadMigrations();

        $this->loadRoutes();

        $this->loadViews();
    }
430983
public function boot()
    {
        $this->app['events']->listen($this->failedEvent, function ($event) {
            if (isset($event->user) && is_a($event->user, 'Illuminate\Database\Eloquent\Model')) {
                $event->user->notify(new FailedLoginNotification(
                    $this->app['request']->ip()
                ));
            }
        });

        $this->app['events']->listen($this->successEvent, function ($event) {
            if (isset($event->user) && is_a($event->user, 'Illuminate\Database\Eloquent\Model')) {
                $event->user->notify(new SuccessfulLoginNotification(
                    $this->app['request']->ip()
                ));
            }
        });
    }
439944
public function boot()
    {
        //
        include __DIR__ . '/routes.php';
        $this->loadViewsFrom(__DIR__ . '/views', 'ghregiondistrict');
        $this->loadMigrationsFrom(__DIR__.'/migrations');
        // publish seeds
        $this->publishes([ __DIR__ . '/seeds' => $this->app->databasePath() . '/seeds' ], 'seeds');
        $this->publishes([__DIR__ . '/migrations' => $this->app->databasePath() . '/migrations'], 'migrations');
      // publish views
        $this->publishes([__DIR__.'/views' => resource_path('views/ghregiondistrict'),], 'views');
        
    }
119529
public function boot()
    {
        if ( ! $this->app->environment('production'))
        {
            $this->publishes([
                dirname(__DIR__) . '/resources/config/files.php'      => config_path('files.php'),
                dirname(__DIR__) . '/resources/config/image.php'      => config_path('image.php'),
                dirname(__DIR__) . '/resources/config/imagecache.php' => config_path('imagecache.php'),
                dirname(__DIR__) . '/resources/config/transit.php'    => config_path('transit.php'),
            ], 'config');

            $this->publishes([
                dirname(__DIR__) . '/resources/migrations/' => database_path('migrations')
            ], 'migrations');
        }
    }
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');
    }
646905
public function boot()
    {
        $db = $this->app['db'];

        $events = $this->app['events'];

        // Setup the ORM Model.
        Model::setConnectionResolver($db);

        Model::setEventDispatcher($events);
    }
986235
public function boot()
	{
            
            $this->loadViewsFrom(__DIR__.'/../views', 'lara');
          
            $this->publishes([
                __DIR__.'/../views' => base_path('resources/views/vendor/lara'),
		__DIR__.'/../public/' => base_path('/public'),
                __DIR__.'/../app/' => base_path('/app'),
                __DIR__.'/../config/master.php' => config_path('lara-cms/master.php'),
                __DIR__.'/../config/lara/master.php' => config_path('lara-cms/lara/master.php')

            ]);

            include __DIR__.'/../routes.php';
            //include __DIR__.'/../composer.php';
	}
640161
public function boot()
    {
        // Bootstrap handles
        $this->routeHandle();
        $this->configHandle();
        $this->langHandle();
        $this->viewHandle();
        $this->assetHandle();
        $this->migrationHandle();
        $this->cssHandle();
        $this->jsHandle();
    }
334093
public function boot()
    {
        // Publish config
        $this->publishes([
            __DIR__ . '/../../config/config.php' => config_path('larasset.php')
        ], 'config');

        $this->mergeConfigFrom(
            __DIR__ . '/../../config/config.php',
            'larasset'
        );

        // Init assets
        $this->app->make('asset', [public_path()."/assets"]);
    }
808544
public function boot()
    {
        $this->loadViewsFrom(ASSELY_FRAMEWORK_DIR . 'resources/views', 'Assely');

        $this->registerGlobalWP();
        $this->registerGlobalWPQuery();
        $this->registerAssets();
        $this->registerJSVariables();
    }
734646
public function boot(): void
    {
        $this->registerConsoleCommands();
        $this->registerPublishes();
        $this->registerRoutes();
        $this->registerViews();
    }
1137568
public function boot() {

		// Reference
		$self = $this;

		// Register Eloquent Hooks
		Event::listen('eloquent.created: *', function($obj) use ($self) { return $self->sync($obj); }, 10);
		Event::listen('eloquent.updated: *', function($obj) use ($self) { return $self->sync($obj); }, 10);
		Event::listen('eloquent.deleted: *', function($obj) use ($self) { return $self->delete($obj); }, 10);
	}
1147141
public function boot()
    {
        $viewPath        = __DIR__ . '/../../resources/views';
        $translationPath = __DIR__ . '/../../resources/lang';
        $this->loadMigrationsFrom(__DIR__ . '/../../../database/migrations');
        $this->loadViewsFrom($viewPath, 'gzero-social');
        $this->loadTranslationsFrom($translationPath, 'gzero-social');
        $this->loadRoutesFrom(__DIR__ . '/../../../routes/routes.php');
        $this->addLinksToUserMenu();
        $this->publishes(
            [
                $viewPath => base_path('resources/views/vendor/gzero-social')
            ],
            'views'
        );
        $this->publishes(
            [
                $translationPath => base_path('resources/lang/vendor/gzero-social'),
            ],
            'lang'
        );
        $this->registerHelpers();
    }
77404
public function boot()
    {       
		// publish views
        $this->publishes([__DIR__.'/resources/views' => resource_path('views/backend/geomanager')], 'views');
        // publish GeoTemplates trait
        $this->publishes([__DIR__.'/app/GeoTemplates.php' => app_path('PageTemplates.php')], 'trait');
        // publish migrations
        $this->publishes([__DIR__.'/database/migrations' => database_path('migrations')], 'migrations');
		// publish template crud
        $this->publishes([__DIR__.'/resources/views/crud/fields' => resource_path('views/backend/crud/fields')], 'crud-template');
		// publish langs
        $this->publishes([__DIR__.'/resources/views/lang' => resource_path('views/lang')], 'langs');
    }
1072487
public function boot()
    {
        $this->registerRoutes();
        $this->registerPolicies();
        $this->registerMigrations();
        $this->registerFactories();
        $this->registerViews();
        $this->registerViewComposers();
        $this->registerListeners();
        $this->registerPublishes();
    }
173733
public function boot()
    {
        $this->initMigrations();
        $this->initPermissions();
        $this->initMiddlewares();
        $this->initDirectives();
        $this->initUserObserver();
        $this->initCommands();
    }