Init
This commit is contained in:
12
src/RouterInterface.php
Normal file
12
src/RouterInterface.php
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user