PHP Class Flarum\Admin\Middleware\RequireAdministrateAbility

Inheritance: implements Zend\Stratigility\MiddlewareInterface, use trait Flarum\Core\Access\AssertPermissionTrait
显示文件 Open project: flarum/core Class Usage Examples

Public Methods

Method Description
__invoke ( Psr\Http\Message\ServerRequestInterface $request, Psr\Http\Message\ResponseInterface $response, callable $out = null )

Method Details

__invoke() public method

public __invoke ( Psr\Http\Message\ServerRequestInterface $request, Psr\Http\Message\ResponseInterface $response, callable $out = null )
$request Psr\Http\Message\ServerRequestInterface
$response Psr\Http\Message\ResponseInterface
$out callable