This commit is contained in:
as2252258@163.com
2021-09-21 00:43:45 +08:00
parent 4830ada35d
commit 404b367cc2
3 changed files with 15 additions and 2 deletions
+11
View File
@@ -29,6 +29,17 @@ abstract class Handler implements RequestHandlerInterface
protected ?array $middlewares;
/**
* @param \Http\Handler\Handler $handler
* @param array|null $middlewares
*/
public function __construct(CHl $handler, ?array $middlewares)
{
$this->handler = $handler;
$this->middlewares = $middlewares;
}
/**
* @param \Kiri\Proxy\AspectProxy $aspectProxy
*/