20250302#1

This commit is contained in:
User
2025-03-02 19:13:31 +03:00
parent 382bd5de1f
commit 03d13fca9e

View File

@@ -4,9 +4,10 @@ namespace Rmphp\Foundation;
use Psr\Http\Message\RequestInterface; use Psr\Http\Message\RequestInterface;
interface RouterInterface { interface RouterInterface {
public function setStartPoint(string $mountPoint): void; public function setStartPoint(string $mountPoint): void;
public function withRules(array $rules) : void; public function withRules(array $rules) : void;
public function withSet(array $rules): void;
public function match(RequestInterface $request) : ?array; public function match(RequestInterface $request) : ?array;
} public function matchByArgv(RequestInterface $request) : ?array;
}