Documentation

PermissibleDelegateTrait

Table of Contents

$perm  : Permissible
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

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