src/Leevel/Kernel/App.php
public function bootstrap(array $bootstraps): void
    {
        if ($this->isBootstrap) {
            return;
        }

        foreach ($bootstraps as $value) {
            (new $value())->handle($this);
        }
    }
public function bootstrap(array $bootstraps): void
    {
        if ($this->isBootstrap) {
            return;
        }

        foreach ($bootstraps as $value) {
            (new $value())->handle($this);
        }
    }
初始化应用.

@param array $bootstraps