Application is booting

@see http://laravel.com/docs/5.1/providers#the-boot-method
@return void
498698
public function boot()
    {

        $this->registerViews();
        $this->registerMigrations();
        $this->registerSeeds();
        $this->registerAssets();
        $this->registerTranslations();
        $this->registerConfigurations();

        if(! $this->app->routesAreCached() && config('votee.routes')) {
            $this->registerRoutes();
        }
    }
847256
public function boot()
    {
        $app = $this->getContainer()->get('app');

        // If enabled is null, set from the app.debug value
//        $enabled = $this->app['config']->get('debugbar.enabled');

//        if (is_null($enabled)) {
        $enabled = $this->checkAppDebug();
//        }

        if (!$enabled) {
            return;
        }

        /** @var DebugBar $debugBar */
        $debugBar = $app->get('debugbar');
        $debugBar->enable();
        $debugBar->boot();

        $this->registerMiddleware(DebugbarMiddleware::class);
    }
758343
public function boot()
    {
        $this->setRootControllerNamespace();

        $this->loadRoutes();

        $this->app->booted(function () {
            $this->refreshRoutes($this->app['router']);
        });
    }
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'),
        ]);
    }
300122
public function boot()
    {
        // Config
        $this->mergeConfigFrom(__DIR__ . '/../config/laravel-treats.php', 'laravel-treats');

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

        // Translations
        $this->loadTranslationsFrom(resource_path('lang/vendor/laravel-treats'), 'LaravelTreats');

        // Views
        $this->loadViewsFrom(__DIR__ . '/../resources/views', 'LaravelTreats');

        $this->publishes([
            __DIR__ . '/../config/laravel-treats.php' => config_path('laravel-treats.php'),
            __DIR__ . '/../resources/lang' => resource_path('lang/vendor/laravel-treats'),
            __DIR__ . '/../resources/assets/less' => resource_path('assets/less'),
        ]);

        /*
         * Custom Blade directives
         */

        // Prints HTML for a glyphicon
        Blade::directive('glyphicon', function($expression) {
            return '<?php echo \'<span class="glyphicon glyphicon-\' . ' . $expression . ' . \'"></span>\'; ?>';
        });
    }
955080
public function boot()
    {
        $booter = $this->getBooter();

        if ($response = $booter->boot()) {
            $this->sendResponse($response);
        } else {
            $this->status = self::STATUS_ACTIVE;
        }
    }
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);
    }
970437
public function boot()
    {
        $this->app->resolving(RequestAbstract::class, function ($request, $app) {
            $this->initializeRequest($request, $app['request']);
        });
        
        $this->app->afterResolving(RequestAbstract::class, function ($resolved) {
            $resolved->validateResolved();
        });

    }
786891
public function boot()
	{
		// Set up the framework core

		$this->initialize();

		// Configure

		$this->configure();

		// Register services in the IoC injection container

		$this->registerServices();

		// Register class aliases

		$this->registerClassAliases();

		// Load the application bootstrap file

		$this->bootstrap();

		// Boot packages

		$this->bootPackages();

		// Return application instnace

		return $this;
	}
423756
public function boot()
    {

        // If we are in debug mode, listen to database events
        // and log queries to the log file.
        if (env('DB_DEBUG', false)) {

            DB::listen(function ($query) {

                $positional = 0;
                $full_query = '';

                foreach (str_split($query->sql) as $char) {

                    if ($char === '?') {

                        $value = $query->bindings[$positional];

                        if (is_scalar($value))
                            $full_query = $full_query . '"' . $value . '"';
                        else
                            $full_query = $full_query . '[' . gettype($value) . ']';

                        $positional++;

                    } else {

                        $full_query = $full_query . $char;

                    }
                }

                logger()->debug(' ---> QUERY DEBUG: ' . $full_query . ' <---');

            });
        }

        // Inform Laravel how to load migrations
        $this->add_migrations();
    }
516938
public function boot()
  {
    if ($this->booted) return;
    
    $this->container = $container = new Container();
    
    $this->registerServices      ($container);
    $this->registerRoutes        ($container);
    $this->registerEventListeners($container);
    
    $this->booted = true;
  }
1185358
protected static function boot(): void
    {
        parent::boot();

        /**
         * Attach to the 'creating' Model Event to provide record with user id which is now creating this record
         */
        static::creating(function($model) {

            if (auth()->user()) {
                $creatorId = auth()->id();
            } else {
                $creatorId = null;
            }

            $model->{'created_by'} = $creatorId;
        });
    }
882398
public function boot()
    {
        $this->app['events']->listen(LocaleUpdated::class, function ($locale) {
            $this->setLocale();
        });

        $this->setLocale();
    }
1087485
public function boot()
    {
        $this->bootConfig();
        $this->app['validator']->extend('captcha', function ($attribute, $value) {
            return $this->app['captcha']->verifyResponse($value, $this->app['request']->getClientIp());
        });
    }
163772
public function boot()
    {
        $this->setControllerNamespace();

        if ($this->app->routesAreCached()) {
            $this->loadCachedRoutes();
        } else {
            $this->loadRoutes();

            $this->app->booted(function () {
                $this->app['router']->getRoutes()->refreshNameLookups();
                $this->app['router']->getRoutes()->refreshActionLookups();
            });
        }
    }
506446
public function boot()
	{
		$path = $this->laravel['path'].'/config/wel.php';

		if (file_exists($path))
		{
			require $path;
		}

		// If the event dispatcher is set on the application, we will fire an event
		// with the Artisan instance to provide each listener the opportunity to
		// register their commands on this application before it gets started.
		if (isset($this->laravel['events']))
		{
			$this->laravel['events']
				->fire('artisan.start', array($this));
		}

		return $this;
	}
1075172
protected static function boot(): void
    {
        parent::boot();

        /**
         * Attach to the 'creating' Model Event to provide record with user id which is now creating this record
         */
        static::updating(function($model) {

            if (auth()->user()) {
                $updatorId = auth()->id();
            } else {
                $updatorId = null;
            }

            $model->{'updated_by'} = $updatorId;
        });
    }