ModifyResolvedFrontendGroupsEvent
FinalYes
Event listener to allow to add custom Frontend Groups to a (frontend) request regardless if a user is logged in or not.
Table of Contents
Methods
- __construct() : mixed
- getGroups() : array<string|int, mixed>
- getRequest() : ServerRequestInterface
- getUser() : FrontendUserAuthentication
- setGroups() : void
Methods
__construct()
public
__construct(FrontendUserAuthentication $user, array<string|int, mixed> $groups, ServerRequestInterface $request) : mixed
Parameters
- $user : FrontendUserAuthentication
- $groups : array<string|int, mixed>
- $request : ServerRequestInterface
getGroups()
public
getGroups() : array<string|int, mixed>
Return values
array<string|int, mixed>getRequest()
public
getRequest() : ServerRequestInterface
Return values
ServerRequestInterfacegetUser()
public
getUser() : FrontendUserAuthentication
Return values
FrontendUserAuthenticationsetGroups()
public
setGroups(array<string|int, mixed> $groups) : void
Parameters
- $groups : array<string|int, mixed>