Documentation

Action
in package
implements IteratorAggregate, Countable

Class Action

Tags
implements

Table of Contents

Interfaces

IteratorAggregate
Countable

Properties

$label  : string|null
$name  : string
$params  : array<string|int, mixed>
$type  : string
$visible  : bool
$children  : array<string, Action>
$parent  : Action|null

Methods

__construct()  : mixed
__debugInfo()  : array<string|int, mixed>
addChild()  : void
count()  : int
getChild()  : Action|null
getChildren()  : array<string|int, Action>
getIterator()  : Traversable
getLevels()  : int
getParam()  : mixed|null
getParams()  : array<string|int, mixed>
getParent()  : Action|null
getScope()  : string
hasChildren()  : bool
setParent()  : void

Properties

$label

public string|null $label

$params

public array<string|int, mixed> $params

Methods

__construct()

public __construct(string $name[, array<string|int, mixed> $action = [] ]) : mixed
Parameters
$name : string
$action : array<string|int, mixed> = []

__debugInfo()

public __debugInfo() : array<string|int, mixed>
Attributes
#[ReturnTypeWillChange]
Return values
array<string|int, mixed>

count()

public count() : int
Return values
int

getChild()

public getChild(string $name) : Action|null
Parameters
$name : string
Return values
Action|null

getChildren()

public getChildren() : array<string|int, Action>
Return values
array<string|int, Action>

getIterator()

public getIterator() : Traversable
Return values
Traversable

getLevels()

public getLevels() : int
Return values
int

getParam()

public getParam(string $name) : mixed|null
Parameters
$name : string
Return values
mixed|null

getParams()

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

getScope()

public getScope() : string
Return values
string

hasChildren()

public hasChildren() : bool
Return values
bool

        
On this page

Search results