Boots kernel by setting up the container
341644
public function boot(Application $application, InputInterface $input, $output)
    {
        if (true === $this->booted) {
            return;
        }

        $this->application = $application;
        $this->input       = $input;
        $this->output      = $output;

        $this->initializeContainer();
        $this->booted = true;
    }
1002512
public static function boot() : void
    {
        $container = self::getContainer();
        $container->singleton('app', $container);

        Facade::setFacadeApplication($container);
    }
915504
def boot():
    """"""
    argparser = argparse.ArgumentParser(
        description="Controller for LED stripes (WS2801, WS2811 an similar)")
    argparser.add_argument("-c", "--config", metavar="CONFIGFILE", dest="configfiles", action='append',
                           help='Configuration File. May be repeated multiple times. Later configuration files override previous ones.')
    argparser.add_argument("-d", "--debug", dest="log_debug", action='store_const', const=True, help='Set log level to debug. Overrides -i/--info')
    argparser.add_argument("-i", "--info", dest="log_info", action='store_const', const=True, help='Set log level to info.')

    args = argparser.parse_args()

    if args.log_debug:
        logging.basicConfig(level=logging.DEBUG)
    elif args.log_info:
        logging.basicConfig(level=logging.INFO)

    cfg = configparser.ConfigParser()
    cfgpath = os.path.join(os.path.dirname(__file__), "default.conf")
    cfg.read(cfgpath)
    if args.configfiles is not None:
        cfg.read(args.configfiles)

    if "core" not in cfg:
        logging.critical("No [core] section found in configurations files")
        sys.exit()
    if "leds" not in cfg["core"]:
        logging.critical("No leds value found in [core] section in configurations files")
        sys.exit()
    led_count = int(cfg["core"]["leds"])
    if "hwbackend" not in cfg["core"]:
        logging.critical("No hwbackend value found in [core] section in configurations files")
        sys.exit()
    backend_name = cfg["core"]["hwbackend"]

    hwbackends = list(iter_entry_points(group='glin.hwbackend', name=backend_name))
    if len(hwbackends) != 1:
        logging.critical("Found multiple hwbackend with same name. Cant decide upon one. Quitting.")
        sys.exit()
    backend_class = hwbackends[0].load()
    backend_configuration = dict(cfg[backend_name]) if backend_name in cfg else {}
    backend = backend_class(led_count=led_count, config=backend_configuration)

    app = glin.app.GlinApp(led_count, hw_backend=backend)

    for entry_point in iter_entry_points(group='glin.animation', name=None):
        animation_class = entry_point.load()
        try:
            if issubclass(animation_class, glin.animations.AbstractAnimation):
                app.register_animation(animation_class)
            else:
                logging.error("This is not a valid animation class. Has to be subclass of glin.animations:AbstraktAnimation. Ignoring.: {ep}"
                              .format(ep=entry_point))
        except TypeError:
            logging.error("This is not a Class. Ignoring.: {ep}".format(ep=entry_point))

    app.execute()
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());
    }
1315220
public function boot() {
    $this->package('palmabit/multilanguage');

    $this->registerAliases();
    $this->updateLocales();

    require __DIR__ . "/../../filters.php";
    require __DIR__ . "/../../routes.php";
    require __DIR__ . "/../../composer.php";
  }
331509
public function boot()
    {
        $this->getContainer()
            ->addProvider(ArraySerializerProvider::class)
            ->addProvider(JsonSerializerProvider::class)
            ->addProvider(CompressorProvider::class)
            ->addProvider(ArrayCacheDriver::class);
    }
233893
public function boot()
    {
        $this->publishes([
                             __DIR__ . '/../config/songshenzong-log.php' => config_path('songshenzong-log.php')
                         ], 'config');


        if (!$this->isEnabled()) {
            return;
        }


        $kernel = $this->app->make(Kernel::class);
        $kernel->prependMiddleware(Middleware::class);


        $routeConfig = [
            'namespace' => 'Songshenzong\Log\Controllers',
            'prefix'    => config('songshenzong-log.route_prefix', 'songshenzong/log'),
        ];

        app('router')->group($routeConfig, function ($router) {
            $router->get('', 'WebController@index');
            $router->get('login', 'WebController@login');
            $router->get('api/login', 'ApiController@login');
            $router->group(['middleware' => 'Songshenzong\Log\TokenMiddleware'], function ($router) {
                $router->get('logs', 'ApiController@getList');
                $router->get('logs/{id}', 'ApiController@getItem')->where('id', '[0-9\.]+');
                $router->get('destroy', 'ApiController@destroy');
                $router->get('create', 'ApiController@createTable');
                $router->get('collect/status', 'ApiController@getOrSetCollectStatus');
                $router->get('table/status', 'ApiController@getTableStatus');
            });
        });

        if (app()->runningInConsole() || app()->environment('testing')) {
            return;
        }


        app('songshenzongLog')->enable();
        app('songshenzongLog')->boot();
    }
166681
def attach_kernel_driver(self, interface):
        
        """
        self._ctx.managed_open()
        self._ctx.backend.attach_kernel_driver(
            self._ctx.handle,
            interface)
287130
public function boot() : void
    {
        $kernel = app(Kernel::class);

        if (class_uses_trait($kernel, RegistersRouters::class)) {
            $kernel->bootRouters();
        }
    }
574681
public function rebootKernel()
    {
        if ($this->container) {
            foreach ($this->persistentServices as $serviceName => $service) {
                if ($this->container->has($serviceName)) {
                    $this->persistentServices[$serviceName] = $this->container->get($serviceName);
                }
            }
        }

        $this->kernel->shutdown();
        $this->kernel->boot();
        $this->container = $this->kernel->getContainer();

        foreach ($this->persistentServices as $serviceName => $service) {
            try {
                $this->container->set($serviceName, $service);
            } catch (\InvalidArgumentException $e) {
                //Private services can't be set in Symfony 4
                codecept_debug("[Symfony] Can't set persistent service $serviceName: " . $e->getMessage());
            }
        }

        if ($this->container->has('profiler')) {
            $this->container->get('profiler')->enable();
        }
    }
242487
public function boot() {

        $this->setupConfiguration();

        $this->setupMigrations();
        $this->setupSeeds();

        $this->setupRoutes($this->app->router);

        $this->setupTranslations();

        $this->setupViews();

        $this->setupAssets();
    }
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();
    }
971832
public function boot()
    {
        $registryServiceName = 'service_provider_registry_'.$this->id;
        $this->container->set($registryServiceName, $this->getRegistry($this->container));
    }
1268116
public function boot()
    {
        $path = \realpath(__DIR__.'/../');

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

        if (! $this->hasPackageRepository()) {
            $this->bootUsingLaravel($path);
        }
    }
663063
public function boot()
    {
        parent::boot();

        $this->publishes([realpath(__DIR__.'/../../config/api.php') => config_path('api.php')]);

        $kernel = $this->app->make(Kernel::class);

        $this->app[Request::class]->mergeMiddlewares(
            $this->gatherAppMiddleware($kernel)
        );

        $this->addRequestMiddlewareToBeginning($kernel);

        $this->app['events']->listen(RequestWasMatched::class, function (RequestWasMatched $event) {
            $this->replaceRouteDispatcher();

            $this->updateRouterBindings();
        });

        $this->app->resolving(FormRequest::class, function (FormRequest $request, Application $app) {
            $this->initializeRequest($request, $app['request']);

            $request->setContainer($app)->setRedirector($app->make(Redirector::class));
        });

        $this->addMiddlewareAlias('api.auth', Auth::class);
        $this->addMiddlewareAlias('api.throttle', RateLimit::class);
        $this->addMiddlewareAlias('api.controllers', PrepareController::class);
    }
713999
public function boot()
    {
        $configPath = config_path('admin.php');

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

        $this->publishes([
            __DIR__.'/../../../public/' => public_path('packages/pingpong/admin/'),
        ], 'assets');

        $viewPath = base_path('resources/views/vendor/pingpong/admin/');

        $this->publishes([
            __DIR__.'/../../views/' => $viewPath,
        ], 'views');

        if (file_exists($configPath)) {
            $this->mergeConfigFrom($configPath, 'admin');
        }

        $this->loadViewsFrom([$viewPath, __DIR__.'/../../views'], 'admin');

        $langPath = base_path('resources/lang/en/admin.php');

        $this->publishes([
            __DIR__.'/../../lang/admin.php' => $langPath,
        ], 'lang');
    }
365178
private function boot() {
        /**
         * making this loop for all type of assets
         * that we include and user in out sub classes
         */
        $this->loop = [
            'include' => $this->include,
            'ignore'  => $this->ignore,
            'css'     => $this->css,
            'js'      => $this->js,
        ];
        
        //modifying the baseDir for use
        $temp_base_dir = $this->baseDir;
        if ( ! is_dir($temp_base_dir)) {
            $temp_base_dir = config('asset.bower_dir') . $temp_base_dir;
        }
        $temp_base_dir = rtrim($temp_base_dir, '/') . '/';
        
        /**
         * foreach contents we search glob patterns or arrays
         * and list of the file that should be included
         */
        foreach ($this->loop as $kind => $contents) {
            if ( ! empty($contents)) {
                if ( ! is_array($contents)) {
                    $contents = [$contents];
                }
                $contentTemp = [];
                foreach ($contents as $content) {
                    if (preg_match("/\*/", $content)) {
                        $temp = $this->glob($temp_base_dir . $content);
                        foreach ($temp as $k => $contentFile) {
                            $contentTemp[] = str_replace($temp_base_dir, '', $contentFile);
                        }
                    } else {
                        $contentTemp[] = $content;
                    }
                }
                $this->loop[$kind] = $contentTemp;
            }
        }
    }