Permissions
in package
implements
ArrayAccess, Countable, IteratorAggregate
Class Permissions
Tags
Table of Contents
Interfaces
- ArrayAccess
- Countable
- IteratorAggregate
Properties
- $actions : array<string, Action>
- $instances : array<string, Action>
- $nested : array<string|int, mixed>
- $types : array<string|int, mixed>
Methods
- __debugInfo() : array<string|int, mixed>
- addAction() : void
- addActions() : void
- addType() : void
- addTypes() : void
- count() : int
- getAccess() : Access
- getAction() : Action|null
- getActions() : array<string|int, mixed>
- getInstances() : array<string|int, mixed>
- getIterator() : ArrayIterator|Traversable
- getType() : Action|null
- getTypes() : array<string|int, mixed>
- hasAction() : bool
- hasType() : bool
- offsetExists() : bool
- offsetGet() : Action|null
- offsetSet() : void
- offsetUnset() : void
- getParent() : Action|null
Properties
$actions
protected
array<string, Action>
$actions
= []
$instances
protected
array<string, Action>
$instances
= []
$nested
protected
array<string|int, mixed>
$nested
= []
$types
protected
array<string|int, mixed>
$types
= []
Methods
__debugInfo()
public
__debugInfo() : array<string|int, mixed>
Attributes
- #[ReturnTypeWillChange]
Return values
array<string|int, mixed>addAction()
public
addAction(Action $action) : void
Parameters
- $action : Action
addActions()
public
addActions(array<string|int, Action> $actions) : void
Parameters
- $actions : array<string|int, Action>
addType()
public
addType(string $name, array<string|int, mixed> $type) : void
Parameters
- $name : string
- $type : array<string|int, mixed>
addTypes()
public
addTypes(array<string|int, mixed> $types) : void
Parameters
- $types : array<string|int, mixed>
count()
public
count() : int
Return values
intgetAccess()
public
getAccess([array<string|int, mixed>|null $access = null ]) : Access
Parameters
- $access : array<string|int, mixed>|null = null
Return values
AccessgetAction()
public
getAction(string $name) : Action|null
Parameters
- $name : string
Return values
Action|nullgetActions()
public
getActions() : array<string|int, mixed>
Return values
array<string|int, mixed>getInstances()
public
getInstances() : array<string|int, mixed>
Return values
array<string|int, mixed>getIterator()
public
getIterator() : ArrayIterator|Traversable
Attributes
- #[ReturnTypeWillChange]
Return values
ArrayIterator|TraversablegetType()
public
getType(string $name) : Action|null
Parameters
- $name : string
Return values
Action|nullgetTypes()
public
getTypes() : array<string|int, mixed>
Return values
array<string|int, mixed>hasAction()
public
hasAction(string $name) : bool
Parameters
- $name : string
Return values
boolhasType()
public
hasType(string $name) : bool
Parameters
- $name : string
Return values
booloffsetExists()
public
offsetExists(int|string $offset) : bool
Parameters
- $offset : int|string
Return values
booloffsetGet()
public
offsetGet(int|string $offset) : Action|null
Parameters
- $offset : int|string
Return values
Action|nulloffsetSet()
public
offsetSet(int|string $offset, mixed $value) : void
Parameters
- $offset : int|string
- $value : mixed
offsetUnset()
public
offsetUnset(int|string $offset) : void
Parameters
- $offset : int|string
getParent()
protected
getParent(string $name) : Action|null
Parameters
- $name : string