VariableSet
in package
implements
VariableSetInterface
Table of Contents
Interfaces
Properties
- $variables : array<string, VariableInterface>
Methods
- __construct() : mixed
- getVariable() : VariableInterface
- getVariableNames() : iterable<string|int, string>
- getVariables() : iterable<string|int, VariableInterface>
Properties
$variables
private
array<string, VariableInterface>
$variables
= []
Methods
__construct()
public
__construct(VariableInterface ...$variables) : mixed
Parameters
- $variables : VariableInterface
getVariable()
public
getVariable(string $name) : VariableInterface
Parameters
- $name : string
Return values
VariableInterfacegetVariableNames()
public
getVariableNames() : iterable<string|int, string>
Return values
iterable<string|int, string> —Return a list of variable IDs
getVariables()
public
getVariables() : iterable<string|int, VariableInterface>
Return values
iterable<string|int, VariableInterface> —Returns an iterator that will yield the VariableInterface objects