UserInformationService
final readonly class \
Transform information of user and groups into better format
Internal
Table of Contents
Methods
- __construct() : mixed
- getGroupInformation() : array
- Get all relevant information for a backend usergroup
- getUserInformation() : array
- Get all relevant information of the user
Methods
__construct()
public
__construct(IconFactory $iconFactory, ModuleProvider $moduleProvider, TcaSchemaFactory $tcaSchemaFactory, PageDoktypeRegistry $pageDoktypeRegistry, SchemaLabelResolver $schemaLabelResolver, SiteFinder $siteFinder) : mixed
Parameters
- $iconFactory : IconFactory
- $moduleProvider : ModuleProvider
- $tcaSchemaFactory : TcaSchemaFactory
- $pageDoktypeRegistry : PageDoktypeRegistry
- $schemaLabelResolver : SchemaLabelResolver
- $siteFinder : SiteFinder
getGroupInformation()
Get all relevant information for a backend usergroup
public
getGroupInformation(int $groupId) : array
Parameters
- $groupId : int
Return values
arraygetUserInformation()
Get all relevant information of the user
public
getUserInformation(int $userId) : array
Parameters
- $userId : int