advance bootstraper call order

This commit is contained in:
sunxyw
2023-02-18 20:56:47 +08:00
parent effecb09e5
commit cf72893421
5 changed files with 20 additions and 9 deletions

View File

@@ -93,11 +93,6 @@ class Framework
*/
public function init(): Framework
{
// 顺序执行引导器
foreach ($this->bootstrappers as $bootstrapper) {
resolve($bootstrapper)->bootstrap($this->argv);
}
// 初始化 @OnSetup 事件
$this->initSetupAnnotations();