111
This commit is contained in:
@@ -22,7 +22,6 @@ abstract class Handler implements RequestHandlerInterface
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
#[Inject(AspectProxy::class)]
|
|
||||||
protected AspectProxy $aspectProxy;
|
protected AspectProxy $aspectProxy;
|
||||||
|
|
||||||
|
|
||||||
@@ -32,15 +31,7 @@ abstract class Handler implements RequestHandlerInterface
|
|||||||
*/
|
*/
|
||||||
public function __construct(public CHl $handler,public ?array $middlewares)
|
public function __construct(public CHl $handler,public ?array $middlewares)
|
||||||
{
|
{
|
||||||
}
|
$this->aspectProxy = Kiri::getDi()->get(AspectProxy::class);
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param \Kiri\Proxy\AspectProxy $aspectProxy
|
|
||||||
*/
|
|
||||||
public function setAspectProxy(AspectProxy $aspectProxy)
|
|
||||||
{
|
|
||||||
$this->aspectProxy = $aspectProxy;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user