Bootstrap any application services.

@return void
161024
public function boot(Router $router): void
    {
        // Bind route models and constrains
        $router->pattern('service', '[a-zA-Z0-9-]+');
        $router->pattern('service_rate', '[a-zA-Z0-9-]+');
        $router->pattern('service_booking', '[a-zA-Z0-9-]+');
        $router->pattern('service_availability', '[a-zA-Z0-9-]+');
        $router->pattern('event_booking', '[a-zA-Z0-9-]+');
        $router->pattern('event_ticket', '[a-zA-Z0-9-]+');
        $router->pattern('event', '[a-zA-Z0-9-]+');

        $router->model('service', config('cortex.bookings.models.service'));
        $router->model('service_rate', config('cortex.bookings.models.service_rate'));
        $router->model('service_booking', config('cortex.bookings.models.service_booking'));
        $router->model('service_availability', config('cortex.bookings.models.service_availability'));
        $router->model('event_booking', config('cortex.bookings.models.event_booking'));
        $router->model('event_ticket', config('cortex.bookings.models.event_ticket'));
        $router->model('event', config('cortex.bookings.models.event'));

        // Map relations
        Relation::morphMap([
            'service' => config('cortex.bookings.models.service'),
            'service_rate' => config('cortex.bookings.models.service_rate'),
            'service_booking' => config('cortex.bookings.models.service_booking'),
            'service_availability' => config('cortex.bookings.models.service_availability'),
            'event_booking' => config('cortex.bookings.models.event_booking'),
            'event_ticket' => config('cortex.bookings.models.event_ticket'),
            'event' => config('cortex.bookings.models.event'),
        ]);

        // Load resources
        require __DIR__.'/../../routes/breadcrumbs/adminarea.php';
        $this->loadRoutesFrom(__DIR__.'/../../routes/web/adminarea.php');
        $this->loadViewsFrom(__DIR__.'/../../resources/views', 'cortex/bookings');
        $this->loadTranslationsFrom(__DIR__.'/../../resources/lang', 'cortex/bookings');
        ! $this->app->runningInConsole() || $this->loadMigrationsFrom(__DIR__.'/../../database/migrations');
        $this->app->runningInConsole() || $this->app->afterResolving('blade.compiler', function () {
            require __DIR__.'/../../routes/menus/adminarea.php';
        });

        // Publish resources
        ! $this->app->runningInConsole() || $this->publishResources();
    }
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');
    }
472681
public function boot()
    {
        $this->publishConfiguration();

        $this->loadConfig();

        $this->loadMigrations();

        $this->loadRoutes();

        $this->loadViews();
    }
1336770
public function boot()
    {
        $this->loadMigrationsFrom(__DIR__ . '/../../migrations');
        $this->publishes([
            __DIR__ . '/../../config/config.php' => config_path('image.php'),

            // master files
            __DIR__ . '/../../master/Image.php.dist' => app_path('Models/Image/Image.php'),

        ]);
    }
882116
public function boot()
    {
        $this->app['modules.loader']->bootModules($this->app);

        $this->app['modules.filesystem']->getFoundFilesFromCache();

        $this->app['events']->listen('app.shutdown', function () {
            $this->app['modules.filesystem']->cacheFoundFiles();
        });
    }
112951
public function boot()
    {
        if (is_null($this->init)) {
            $this->init();
        }

        if (false === $this->init) {
            if (PHP_SESSION_ACTIVE != session_status()) {
                $this->start();
            }
            $this->init = true;
        }
    }
1206860
public function boot()
    {
        if ($this->app->runningInConsole()) {

            $this->loadTranslationsFrom(__DIR__.'/../translations', 'self-diagnosis');

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

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

        $this->loadViewsFrom(__DIR__.'/../../views', 'expendable');
        $this->loadTranslationsFrom(__DIR__.'/../../lang', 'expendable');
        $this->loadMigrationsFrom(__DIR__.'/../../database/migrations/');


        $this->publishes([
            __DIR__.'/../../config/config.php'    => config_path('expendable.php'),
            __DIR__.'/../../database/seeds/'      => base_path('/database/seeds'),
        ]);


        $this->publishes([
            __DIR__.'/../../views' => base_path('resources/views/vendor/expendable'),
        ], 'views');
        $this->mergeConfigFrom(
            __DIR__.'/../../config/config.php', 'expendable'
        );

        $autoLoaderListener = new \Distilleries\Expendable\Register\ListenerAutoLoader(config('expendable.listener'));
        $autoLoaderListener->load();

    }
996536
public function boot()
    {
        $this->publishes([
            __DIR__.'/../../config/admin-lte.php' => config_path('admin-lte.php'),
        ], 'config');
        $this->loadViewsFrom(__DIR__.'/../../resources/views', 'admin-lte');
        $this->publishes([
            __DIR__.'/../../resources/views' => resource_path('views/vendor/admin-lte')
        ], 'views');
        if ($this->app->runningInConsole()) {
            $this->commands([
                AdminLTEMakeCommand::class,
            ]);
        }
    }
1054090
public function boot()
    {
        // Public config
        $this->publishes([
            __DIR__.'/config/commands.php' => config_path('commands.php'),
        ], 'config');


        if ($this->app->runningInConsole()) {
            $this->commands([
                CreateUserCommand::class,
                CreateRoleCommand::class
            ]);
        }
    }
14376
public function boot()
    {
        if ($this->app->runningInConsole()) {
            $this->loadMigrationsFrom(__DIR__.'/../database/migrations');

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

        if (! class_exists('CreateMonitorsTable')) {
            $timestamp = date('Y_m_d_His', time());

            $this->publishes([
                __DIR__.'/../database/migrations/create_monitors_table.php.stub' => database_path('migrations/'.$timestamp.'_create_monitors_table.php'),
            ], 'migrations');
        }
    }
1161912
public function boot()
    {
        $this->loadViewsFrom(__DIR__.'/../resources/views', 'bootstrap');

        if ($this->app->runningInConsole()) {
            $this->publishes([
                __DIR__.'/../resources/views' => resource_path('views/vendor/bootstrap'),
            ], 'views');
        }
    }
1084245
public function boot()
    {
        $this->publishes([
            realpath(__DIR__.'/../config/follow.php') => config_path('follow.php'),
        ], 'config');

        $this->publishes([
            realpath(__DIR__.'/../database/migrations') => database_path('migrations'),
        ], 'migrations');
    }
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');
    }
591199
public function boot()
    {
        $this->loadRoutesFrom(__DIR__ . '/routes/web.php');
        $this->loadRoutesFrom(__DIR__ . '/routes/api.php');

        $this->loadMigrationsFrom(__DIR__ . '/migrations');
        $this->loadViewsFrom(__DIR__ . '/views', 'b3');

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

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

        \Gate::policy(B3Server::class, \Config::get('b3cod4x.policy'));
    }
71318
public function boot()
    {
        $this->publishes([
            __DIR__ . '/../config/helpers.php' => config_path('helpers.php'),
        ], 'config');

        $helpersDirectory = config('helpers.helpers_path');

        if (file_exists($helpersDirectory) && is_dir($helpersDirectory)) {
            $this->loadHelpersFrom($helpersDirectory);
        }
    }
346666
public function boot() {
        $this->publishes([__DIR__ . '/../../config/phpconsole.php' => config_path('phpconsole.php')], 'config');

        foreach (config('phpconsole') as $option => $value) {
            $this->setOption($option, $value);
        }
        $this->initPhpConsole();
    }