FrontendBlockService
FinalYes
it need for backward compatibility
Table of Contents
Methods
- __construct() : mixed
- calculateMemberParty() : int
- getByRole() : int
- getRole() : string|null
Methods
__construct()
public
__construct([MemberRepository|null $memberRepository = null ]) : mixed
Parameters
- $memberRepository : MemberRepository|null = null
calculateMemberParty()
public
calculateMemberParty(int $blockParty, Document $document) : int
Parameters
- $blockParty : int
- $document : Document
Return values
intgetByRole()
public
getByRole(string|null $role) : int
Parameters
- $role : string|null
Return values
intgetRole()
public
getRole(int $frontParty) : string|null
Parameters
- $frontParty : int