web-base/core/Objects/Router/EmptyRoute.class.php

14 lines
277 B
PHP
Raw Normal View History

2022-06-01 09:47:31 +02:00
<?php
namespace 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 "";
}
}