VariableCollection
in package
implements
Countable, IteratorAggregate
FinalYes
Tags
Table of Contents
Interfaces
- Countable
- IteratorAggregate
Properties
- $variables : array<string|int, mixed>
Methods
- asArray() : array<string|int, mixed>
- count() : int
- fromArray() : self
- getIterator() : VariableCollectionIterator
- __construct() : mixed
Properties
$variables read-only
private
array<string|int, mixed>
$variables
Tags
Methods
asArray()
public
asArray() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>count()
public
count() : int
Return values
intfromArray()
public
static fromArray(array<string|int, mixed> $variables) : self
Parameters
- $variables : array<string|int, mixed>
Tags
Return values
selfgetIterator()
public
getIterator() : VariableCollectionIterator
Return values
VariableCollectionIterator__construct()
private
__construct(Variable ...$variables) : mixed
Parameters
- $variables : Variable