mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-07-11 03:42:16 +00:00
[TASK] Load group middleware if prefix matches
- Middlewares from groups are now loaded if prefix matches. - Optimisations.
This commit is contained in:
@@ -7,10 +7,6 @@ use Pecee\Http\Request;
|
||||
|
||||
class RouterGroup extends RouterEntry {
|
||||
|
||||
public function __construct() {
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
public function matchDomain(Request $request) {
|
||||
if($this->domain !== null) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user