Application
Table of Contents
Classes
Enums
Functions
- urlBuilder() : string
- construct url from sub paths
- adminPageGuard() : mixed
- if admin needs password init, redirect to register page, if user not logged in, redirect to login page
- adminRouteGuard() : mixed
- if user not logged in, throw 401
Functions
urlBuilder()
construct url from sub paths
urlBuilder(mixed ...$paths) : string
Parameters
- $paths : mixed
Return values
stringadminPageGuard()
if admin needs password init, redirect to register page, if user not logged in, redirect to login page
adminPageGuard(Response $response) : mixed
Parameters
- $response : Response
adminRouteGuard()
if user not logged in, throw 401
adminRouteGuard() : mixed