vakata/httprouter

View on GitHub
src/RouterInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace vakata\httprouter;

use vakata\router\RouterInterface as BaseRouter;
use vakata\http\RequestInterface;
use vakata\http\ResponseInterface;

interface RouterInterface extends BaseRouter
{
    public function middleware(MiddlewareInterface $handler) : RouterInterface;
    public function runRequest(RequestInterface $req) : ResponseInterface;
}