Documentation

PermissibleBase
in package
implements Permissible Uses PermissibleDelegateTrait

Interfaces, Classes, Traits and Enums

Permissible

Table of Contents

$perm  : Permissible
$permissibleBase  : PermissibleInternal
__construct()  : mixed
__destruct()  : mixed
addAttachment()  : PermissionAttachment
getEffectivePermissions()  : array<string|int, PermissionAttachmentInfo>
getPermissionRecalculationCallbacks()  : ObjectSet|array<string|int, Closure>
hasPermission()  : bool
isPermissionSet()  : bool
recalculatePermissions()  : array<string|int, mixed>
removeAttachment()  : void
setBasePermission()  : void
unsetBasePermission()  : void

Properties

Methods

__construct()

public __construct(array<string|int, bool> $basePermissions) : mixed
Parameters
$basePermissions : array<string|int, bool>
Tags
phpstan-param

array<string, bool> $basePermissions

Return values
mixed

getPermissionRecalculationCallbacks()

public getPermissionRecalculationCallbacks() : ObjectSet|array<string|int, Closure>
Tags
phpstan-return

ObjectSet<\Closure(array<string, bool> $changedPermissionsOldValues) : void>

Return values
ObjectSet|array<string|int, Closure>

recalculatePermissions()

public recalculatePermissions() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results