mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-07-11 06:42:12 +00:00
Development
- Added event-arguments data. - Added event-arguments to the event list in documentation. - Fixed missing exceptions thrown in phpDocs. - Added unit-tests for new event functionality.
This commit is contained in:
@@ -19,8 +19,8 @@ interface IEventHandler {
|
||||
*
|
||||
* @param Router $router Router instance
|
||||
* @param string $name Event name
|
||||
* @param array ...$eventArgs Event arguments
|
||||
* @param array $eventArgs Event arguments
|
||||
*/
|
||||
public function fireEvents(Router $router, string $name, ...$eventArgs) : void;
|
||||
public function fireEvents(Router $router, string $name, array $eventArgs = []) : void;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user