Skip to content

Releases: bephp/router

transfer $this to hook handler

14 Apr 15:47
Compare
Choose a tag to compare
  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.

add group API

08 Jan 14:36
Compare
Choose a tag to compare
  1. add group API
  2. merge hook and error callback.