Skip to content

transfer $this to hook handler

Latest
Compare
Choose a tag to compare
@lloydzhou lloydzhou released this 14 Apr 15:47
· 9 commits to master since this release
  1. the hook handler no need to always return value. (see #19 )
  2. transfer current router object $router to hook handler.
  3. and stored current merged params into $router->params.

upgrade to this version, need update the hooks callback handler. change the params.