|
Bristol SU Support Package
|
Public Member Functions | |
| __construct (Authentication $authentication) | |
| handle (Request $request, \Closure $next) | |
Private Attributes | |
| $authentication | |
Is the module instance active?
Definition at line 13 of file CheckModuleInstanceActive.php.
| BristolSU\Support\Authorization\Middleware\CheckModuleInstanceActive::__construct | ( | Authentication | $authentication | ) |
Initialise middleware
| Authentication | $authentication | Authentication to get models from |
Definition at line 28 of file CheckModuleInstanceActive.php.
References BristolSU\Support\Authorization\Middleware\CheckModuleInstanceActive\$authentication.
| BristolSU\Support\Authorization\Middleware\CheckModuleInstanceActive::handle | ( | Request | $request, |
| \Closure | $next | ||
| ) |
Check if th module instance is active
| Request | $request | |
| \Closure | $next |
| ModuleInactive | If the module is not active |
Definition at line 41 of file CheckModuleInstanceActive.php.
|
private |
Definition at line 21 of file CheckModuleInstanceActive.php.
Referenced by BristolSU\Support\Authorization\Middleware\CheckModuleInstanceActive\__construct().
1.8.13