refactor(infrastructure): Reorganize routing and messaging architecture with middleware support
This commit is contained in:
11
src/Infrastructure/Routing/IRoute.php
Normal file
11
src/Infrastructure/Routing/IRoute.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace DistributingCarriers\Infrastructure\Routing;
|
||||
|
||||
interface IRoute
|
||||
{
|
||||
public function getMethod(): string;
|
||||
public function getPath(): string;
|
||||
public function getHandler(): IRequestHandler;
|
||||
public function getMiddlewares(): array;
|
||||
}
|
||||
Reference in New Issue
Block a user