web-base/Core/Objects/Router/EmptyRoute.class.php
2022-11-27 12:33:27 +01:00

16 lines
323 B
PHP

<?php
namespace Core\Objects\Router;
use Core\Objects\DatabaseEntity\Route;
class EmptyRoute extends Route {
public function __construct(string $pattern, bool $exact = true) {
parent::__construct("empty", $pattern, $exact);
}
public function call(Router $router, array $params): string {
return "";
}
}