Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
💡 added allowed hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
mychidarko committed Oct 26, 2021
1 parent 973e4fe commit a94a0a3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Router/Core.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,14 @@ protected static function mapHandler($handler, $options)
/**
* Add a router hook
*
* Available hooks
* - router.before
* - router.before.route
* - router.before.dispatch
* - router.after.dispatch
* - router.after.route
* - router.after
*
* @param string $name The hook to set
* @param callable|null $handler The hook handler
*/
Expand Down

0 comments on commit a94a0a3

Please sign in to comment.