Skip to content

Commit

Permalink
Merge branch 'sgenmi' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Sgenmi committed Sep 14, 2023
2 parents 8c3f33c + 77dc798 commit 42f32ef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,14 @@ public function _initRegisterNameSpace(){
}
}

//custom plugin
public function initPlugins(\Yaf\Dispatcher $dispatcher):void{}

//system plugin
public function _initSysPlugins(\Yaf\Dispatcher $dispatcher)
{
$dispatcher->registerPlugin(new SysInitPlugin());
$this->initPlugins($dispatcher);
}

}

0 comments on commit 42f32ef

Please sign in to comment.