Namespace and ClassPath rewrites
This commit is contained in:
14
Core/Objects/Router/EmptyRoute.class.php
Normal file
14
Core/Objects/Router/EmptyRoute.class.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace Core\Objects\Router;
|
||||
|
||||
class EmptyRoute extends AbstractRoute {
|
||||
|
||||
public function __construct(string $pattern, bool $exact = true) {
|
||||
parent::__construct($pattern, $exact);
|
||||
}
|
||||
|
||||
public function call(Router $router, array $params): string {
|
||||
return "";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user