PermissionService
in package
Table of Contents
- $configService : ConfigService
- $federatedUserService : FederatedUserService
- $l10n : IL10N
- __construct() : mixed
- confirmAllowedCircleTypes() : void
- Enforce or Block circle's config/type
- confirmCircleCreation() : void
- canBypassCircleTypes() : bool
- confirm() : void
- extractBitwise() : array<string|int, int>
Properties
$configService
private
ConfigService
$configService
$federatedUserService
private
FederatedUserService
$federatedUserService
$l10n
private
IL10N
$l10n
Methods
__construct()
public
__construct(IL10N $l10n, FederatedUserService $federatedUserService, ConfigService $configService) : mixed
Parameters
- $l10n : IL10N
- $federatedUserService : FederatedUserService
- $configService : ConfigService
Return values
mixed —confirmAllowedCircleTypes()
Enforce or Block circle's config/type
public
confirmAllowedCircleTypes(Circle $circle[, Circle|null $previous = null ]) : void
Parameters
Tags
Return values
void —confirmCircleCreation()
public
confirmCircleCreation() : void
Tags
Return values
void —canBypassCircleTypes()
private
canBypassCircleTypes(Circle $circle) : bool
Parameters
- $circle : Circle
Tags
Return values
bool —confirm()
private
confirm(string $config) : void
Parameters
- $config : string
Tags
Return values
void —extractBitwise()
private
extractBitwise(int $bitwise) : array<string|int, int>
Parameters
- $bitwise : int