This commit is contained in:
User
2023-05-29 01:38:54 +03:00
commit dd312f5ea0
7 changed files with 105 additions and 0 deletions

12
src/RouterInterface.php Normal file
View File

@@ -0,0 +1,12 @@
<?php
namespace Rmphp\Foundation;
use Psr\Http\Message\RequestInterface;
interface RouterInterface {
public function setStartPoint(string $mountPoint): void;
public function withRules(array $rules) : void;
public function match(RequestInterface $request) : ?array;
}