mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-07-10 23:32:15 +00:00
Version 3
- Easier rewrite management. - Optimisations. - Updated documentation.
This commit is contained in:
@@ -8,10 +8,11 @@ interface IRoute
|
||||
/**
|
||||
* Method called to check if a domain matches
|
||||
*
|
||||
* @param string $route
|
||||
* @param Request $request
|
||||
* @return bool
|
||||
*/
|
||||
public function matchRoute(Request $request);
|
||||
public function matchRoute($route, Request $request);
|
||||
|
||||
/**
|
||||
* Called when route is matched.
|
||||
|
||||
Reference in New Issue
Block a user