class RequireAdministrateAbility implements MiddlewareInterface

Properties

protected Gate $gate

Methods

__construct(Gate $gate)

No description

__invoke(ServerRequestInterface $request, ResponseInterface $response, callable $out = null)

<p>{@inheritdoc}</p>

Details

__construct(Gate $gate)

Parameters

Gate $gate

__invoke(ServerRequestInterface $request, ResponseInterface $response, callable $out = null)

<p>{@inheritdoc}</p>

Parameters

ServerRequestInterface $request
ResponseInterface $response
callable $out