Documentation

MemberInfo
in package

Member service.

Tags
psalm-import-type

ApiAppsArrayType from ApiAppAuthenticationMapper as ImportedApiAppsArrayType

psalm-type

OrganMembershipsArrayType = array{ current: array<string, array{ organ: OrganModel, functions: string[], }>, historical: array<string, array{ organ: OrganModel, functions: string[], }>, }

Table of Contents

Properties

$aclService  : AclService
$apiAppAuthenticationMapper  : ApiAppAuthentication
$memberMapper  : Member
$photoConfig  : array<string|int, mixed>
$photoService  : Photo
$translator  : Translator

Methods

__construct()  : mixed
getMembershipInfo()  : ImportedApiAppsArrayType}|null
Obtain information about the current user.
getOrganMemberships()  : OrganMembershipsArrayType
Gets a list of all organs which the member currently is part of.

Properties

$photoConfig read-only

private array<string|int, mixed> $photoConfig

$translator read-only

private Translator $translator

Methods

__construct()

public __construct(AclService $aclService, Translator $translator, Photo $photoService, Member $memberMapper, ApiAppAuthentication $apiAppAuthenticationMapper, array<string|int, mixed> $photoConfig) : mixed
Parameters
$aclService : AclService
$translator : Translator
$photoService : Photo
$memberMapper : Member
$apiAppAuthenticationMapper : ApiAppAuthentication
$photoConfig : array<string|int, mixed>
Tags
phpcsSuppress

SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingTraversableTypeHintSpecification

getMembershipInfo()

Obtain information about the current user.

public getMembershipInfo([int|null $lidnr = null ]) : ImportedApiAppsArrayType}|null
Parameters
$lidnr : int|null = null
Tags
throws
Exception
Return values
ImportedApiAppsArrayType}|null

getOrganMemberships()

Gets a list of all organs which the member currently is part of.

public getOrganMemberships(Member $member) : OrganMembershipsArrayType
Parameters
$member : Member
Return values
OrganMembershipsArrayType

        
On this page

Search results