Bristol SU Support Package
Public Member Functions | List of all members
BristolSU\Support\Authorization\Middleware\CheckModuleInstanceEnabled Class Reference

Public Member Functions

 handle (Request $request, \Closure $next)
 

Detailed Description

Is the module instance enabled?

Definition at line 11 of file CheckModuleInstanceEnabled.php.

Member Function Documentation

◆ handle()

BristolSU\Support\Authorization\Middleware\CheckModuleInstanceEnabled::handle ( Request  $request,
\Closure  $next 
)

Check if the module instance is enabled

Parameters
Request$request
\Closure$next
Returns
mixed
Exceptions
ModuleInstanceDisabledIf the module is not active

Definition at line 22 of file CheckModuleInstanceEnabled.php.

References BristolSU\Support\Authorization\Exception\ModuleInstanceDisabled\fromModuleInstance().


The documentation for this class was generated from the following file: