| Elgg
    Version 6.3
    | 
Protects a route if site is in maintenance mode. More...
| Public Member Functions | |
| __invoke (Request $request) | |
| Gatekeeper.  More... | |
| Protected Member Functions | |
| isAllowedAction (Request $request) | |
| Checks if current action is allowed.  More... | |
| Static Protected Member Functions | |
| static | allowCurrentUrl (Request $request) | 
| When in maintenance mode, should the current URL be handled normally?  More... | |
Protects a route if site is in maintenance mode.
Definition at line 10 of file MaintenanceGatekeeper.php.
| Elgg\Router\Middleware\MaintenanceGatekeeper::__invoke | ( | Request | $request | ) | 
Definition at line 19 of file MaintenanceGatekeeper.php.
| 
 | staticprotected | 
When in maintenance mode, should the current URL be handled normally?
Definition at line 76 of file MaintenanceGatekeeper.php.
| 
 | protected | 
Checks if current action is allowed.
Currently only allows login action for admin users.
Definition at line 55 of file MaintenanceGatekeeper.php.