Boot the package. We wire some signals to slots here.

@param \TYPO3\Flow\Core\Bootstrap $bootstrap The current bootstrap
@return void
496243
public function boot(\TYPO3\Flow\Core\Bootstrap $bootstrap)
    {
        $dispatcher = $bootstrap->getSignalSlotDispatcher();
        $dispatcher->connect(
            'Lightwerk\SurfCaptain\GitApi\ApiRequest',
            'apiCall',
            'Lightwerk\SurfCaptain\GitApi\RequestListener',
            'saveApiCall'
        );
        $dispatcher->connect(
            'Lightwerk\SurfCaptain\GitApi\ApiRequest',
            'apiCall',
            'Lightwerk\SurfCaptain\GitApi\RequestListener',
            'logApiCall'
        );
        $dispatcher->connect(
            'Lightwerk\SurfCaptain\GitApi\ApiRequest',
            'beforeApiCall',
            'Lightwerk\SurfCaptain\GitApi\RequestListener',
            'logBeforeApiCall'
        );
    }
986801
public function boot(): void
	{
		$fileSystem = $this->container->get(FileSystem::class);

		// Register configuration namespace

		if($fileSystem->isDirectory($path = $this->getConfigPath()))
		{
			$configLoader = $this->container->get(Config::class)->getLoader();

			if(in_array(NamespacedFileLoaderTrait::class, class_uses($configLoader)))
			{
				$configLoader->registerNamespace($this->getFileNamespace(), $path);
			}
		}

		// Register i18n namespace

		if($fileSystem->isDirectory($path = $this->getI18nPath()) && $this->container->has(I18n::class))
		{
			$i18nLoader = $this->container->get(I18n::class)->getLoader();

			if(in_array(NamespacedFileLoaderTrait::class, class_uses($i18nLoader)))
			{
				$i18nLoader->registerNamespace($this->getFileNamespace(), $path);
			}
		}

		// Register view namespace

		if($fileSystem->isDirectory($path = $this->getViewPath()) && $this->container->has(ViewFactory::class))
		{
			$this->container->get(ViewFactory::class)->registerNamespace($this->getFileNamespace(), $path);
		}

		// Bootstrap package

		$this->bootstrap();
	}
640161
public function boot()
    {
        // Bootstrap handles
        $this->routeHandle();
        $this->configHandle();
        $this->langHandle();
        $this->viewHandle();
        $this->assetHandle();
        $this->migrationHandle();
        $this->cssHandle();
        $this->jsHandle();
    }
689766
protected function boot()
    {
        if ($this->booted) {
            return;
        }

        fire_callbacks($this->bootCallbacks, $this);

        $this->booted = true;
    }
758343
public function boot()
    {
        $this->setRootControllerNamespace();

        $this->loadRoutes();

        $this->app->booted(function () {
            $this->refreshRoutes($this->app['router']);
        });
    }
761907
public function boot()
	{
		if ($this->booted) return;

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

		$this->bootApplication();
	}
1247092
public function boot()
    {
        $this->capsule = $this->getCapsuleInstance();

        $this->{config('database.driver').'ConnectionSetup'}($this->capsule);

        $this->capsule->setAsGlobal();

        $this->bootPaginator();
    }
261804
public function boot()
	{
		$this->package('wardrobe/core');
		$this->setConnection();
		$this->bindRepositories();
		$this->bootCommands();

		require_once __DIR__.'/../../themeHelpers.php';
		require_once __DIR__.'/../../routes.php';
		require_once __DIR__.'/../../filters.php';
	}
1094126
public function boot()
	{
		if ($this->booted)
		{
			return;
		}

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

		$this->booted = true;
	}
762571
public function boot()
    {
        //$this->setupConfiguration();

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

        //$this->setupTranslations();

        $this->setupViews();

        //$this->setupAssets();

        $this->setupMigrations();
        //$this->setupSeeds();
    }
795848
public function bootstrap()
    {
        if (!$this->booted) {
            $this->container = $this->buildContainer();
            $this->router = $this->buildRouter();
            $this->booted = true;
        }
    }
888391
public function boot()
  {
    if (!is_dir(Remember::$tokensDir)) {
      mkdir(Remember::$tokensDir, 0777, true);
    }

    $this->hasTokens();
    $this->configure();
    $this->start();
  }
434432
protected function bootstrap()
    {
        $this->app->bootstrap();

        if ($this->app instanceof PluginApplicationInterface) {
            $this->app->pluginBootstrap();
        }
    }
798512
public function boot()
	{
		$this->package('chee/module');

		$this->bootCommands();

		$this->app['chee-module']->start();

		$this->app['chee-module']->register();
	}
1358246
public function boot()
    {
        if ($this->app instanceof \Laravel\Lumen\Application) {
            $this->bootLumen();
        } else {
            $this->bootLaravel();
        }
    }
257332
public function boot(Bootstrap $bootstrap)
    {
        $dispatcher = $bootstrap->getSignalSlotDispatcher();

        $context = $bootstrap->getContext();
        if (!$context->isProduction()) {
            $dispatcher->connect(Sequence::class, 'afterInvokeStep', function ($step) use ($bootstrap, $dispatcher) {
                if ($step->getIdentifier() === 'neos.flow:systemfilemonitor') {
                    $templateFileMonitor = FileMonitor::createFileMonitorAtBoot('Sitegeist_Monocle_Fusion_Files', $bootstrap);
                    /**
                     * @var PackageManagerInterface $packageManager
                     */
                    $packageManager = $bootstrap->getEarlyInstance(PackageManagerInterface::class);

                    foreach ($packageManager->getAvailablePackages() as $packageKey => $package) {
                        //
                        // this is here to distinguish between flow and other packages
                        // in flow 5 we can check wether the packe is a FlowPackage instead
                        // @todo fix this after the support for neos 3.3 is dropped
                        //
                        if (method_exists($package, 'getResourcesPath')) {
                            $templatesPath = $package->getResourcesPath() . 'Private/Fusion';
                            if (is_dir($templatesPath)) {
                                $templateFileMonitor->monitorDirectory($templatesPath);
                            }
                        }
                    }

                    $templateFileMonitor->detectChanges();
                    $templateFileMonitor->shutdownObject();
                }
            });
        }

        $flushTemplates = function ($identifier, $changedFiles) use ($bootstrap) {
            if ($identifier !== 'Sitegeist_Monocle_Fusion_Files') {
                return;
            }

            if ($changedFiles === []) {
                return;
            }

            $templateCache = $bootstrap->getObjectManager()->get(CacheManager::class)->getCache('Sitegeist_Monocle_Fusion');
            $templateCache->flush();
        };
        $dispatcher->connect(FileMonitor::class, 'filesHaveChanged', $flushTemplates);
    }
1283270
public function boot()
    {
        if (file_exists($routes = api_path('routes.php'))) {
            $this->loadRoutesFrom($routes);
        }

        if ($this->app->runningInConsole()) {
            $this->publishes([
                __DIR__ . '/../../config' => config_path()
            ], 'laravel-api-config');
        }
    }