forked from PHP/Router
10 lines
279 B
PHP
10 lines
279 B
PHP
<?php declare(strict_types=1);
|
|
|
|
namespace Sharkk\Router;
|
|
|
|
interface RouterInterface
|
|
{
|
|
public static function add(array &$routes, string $method, string $route, callable $handler): void;
|
|
public static function lookup(array &$routes, string $method, string $uri): array;
|
|
}
|