Elgg
Version master
|
Protects a route from non-authenticated users in a walled garden mode. More...
Public Member Functions | |
__invoke (Request $request) | |
Gatekeeper. More... | |
Protected Member Functions | |
isPublicPage (string $url) | |
Checks if the page should be allowed to be served in a walled garden mode. More... | |
Protects a route from non-authenticated users in a walled garden mode.
Definition at line 11 of file WalledGarden.php.
Elgg\Router\Middleware\WalledGarden::__invoke | ( | Request | $request | ) |
|
protected |
Checks if the page should be allowed to be served in a walled garden mode.
Pages are registered to be public by 'public_pages', 'walled_garden' event.
string | $url | Defaults to the current URL |
Definition at line 53 of file WalledGarden.php.