Boot the service provider.

@author Morten Rugaard <moru@nodes.dk>

@return void
187611
public function boot()
    {
        // Register publish groups
        $this->publishGroups();

        // Override Laravel's validator with the one from our config file
        $this->app['validator']->resolver(function ($translator, $data, $rules, $messages) {
            // Retrieve namespace of validator
            $customValidator = config('nodes.validation.validator');

            // Instantiate validator
            $validator = new $customValidator($translator, $data, $rules, $messages);

            // Validate validator parent
            if (! $validator instanceof IlluminateValidator) {
                throw new InvalidValidatorException(sprintf('Validator [%s] is not extending Laravel\'s validator [%s]', get_class($validator), 'Illuminate\Validation\Validator'));
            }

            return $validator;
        });
    }
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']);
    }
1111156
public function boot()
    {
        /*Load views*/
        $this->loadViewsFrom(__DIR__ . '/../../resources/views', 'webed-core');
        /*Load translations*/
        $this->loadTranslationsFrom(__DIR__ . '/../../resources/lang', 'webed-core');

        $this->publishes([
            __DIR__ . '/../../resources/views' => config('view.paths')[0] . '/vendor/webed-core',
        ], 'views');
        $this->publishes([
            __DIR__ . '/../../resources/lang' => base_path('resources/lang/vendor/webed-core'),
        ], 'lang');
        $this->publishes([
            __DIR__ . '/../../config' => base_path('config'),
        ], 'config');
        $this->publishes([
            __DIR__ . '/../../resources/assets' => resource_path('assets'),
        ], 'webed-assets');
        $this->publishes([
            __DIR__ . '/../../resources/root' => base_path(),
            __DIR__ . '/../../resources/public' => public_path(),
        ], 'webed-public-assets');
    }
843603
public function boot()
    {
        $this->setSingular($this->getArgument('title'));
        $this->setPlural($this->getArgument('title'));

        $this->manager->boot($this);
    }
573092
public function boot()
    {
        if ($this->booted) {
            return;
        }

        $this->setRenderer($this->renderer);

        $this->booted = true;
    }
981201
public function boot()
    {
        foreach ($this->getFiles() as $filename) {
            $path = $this->path . '/' . $filename;
            
            if (file_exists($path)) {
                require $path;
            };
        }
    }
423102
public function boot()
    {
        $this->registerRoutes();
        $this->registerAuthGuard();
        $this->registerPublishing();

        $this->loadViewsFrom(
            __DIR__.'/../resources/views', 'wink'
        );
    }
1185646
public function boot()
    {
        $this->client = new Client(
            $this->config('user_id'),
            $this->config('license_key'),
            $this->config('locales', ['en'])
        );
    }
423829
public function boot(): void
    {
        $kernel = $this->app->make(Kernel::class);
        $kernel->prependMiddleware(Middleware::class);
        $this->publishes([
                             __DIR__ . '/../config/api.php' => config_path('api.php'),
                         ]);
    }
1165063
public function boot()
    {
        foreach ($this->subscribe as $subscriber) {
            Event::subscribe($subscriber);
        }

        $this->publishes([
            __DIR__ . '/../../config/iptraceable.php' => config_path('iptraceable.php'),
        ], 'config');
    }
99885
public function boot()
    {
        $path = \realpath(__DIR__.'/../');

        $this->addConfigComponent('orchestra/memory', 'orchestra/memory', "{$path}/config");

        if (! $this->hasPackageRepository()) {
            $this->bootUnderLaravel($path);
        }

        $this->loadMigrationsFrom([
            "{$path}/database/migrations",
        ]);

        $this->bootMemoryEvent();
    }
669488
public function boot()
    {
        $router = $this->app->make(Router::class);
        $kernel = $this->app->make(Kernel::class);
        $this->registerRouteMiddleware($router, $kernel);
        $this->app->make('events')->fire('antares.ready');
        $this->app->make('events')->fire(new AntaresReady());
    }
40100
public function boot()
    {
        $this->app['router']->aliasMiddleware('role', VerifyRole::class);
        $this->app['router']->aliasMiddleware('permission', VerifyPermission::class);
        $this->app['router']->aliasMiddleware('level', VerifyLevel::class);
        $this->registerBladeExtensions();
    }
761907
public function boot()
	{
		if ($this->booted) return;

		array_walk($this->serviceProviders, function($p) { $p->boot(); });

		$this->bootApplication();
	}
839901
public function boot()
    {
        $this->setFingerprint(mt_rand());

        $this->setArguments($this->getMessages());
        $this->setSingular($this->getArgument('title'));
        $this->setPlural($this->getArgument('title'));
        // $this->setValue($this->getArgument('default'));

        $this->manager->boot($this);
    }
1054891
public function boot()
    {
        $this->app['events']->listen('router.matched', function(){

            $this->app->resolving(function(FormRequest $request, $app){

                $request->setRequest($app['request']);

            });

        });
    }
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');
        }
    }