Methods¶
__construct()
¶
RuntimeContext.php
:
30
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$options | array<string, mixed> | - | - |
all()
¶
RuntimeContext.php
:
35
Returns all options as an associative array.
|
|
Return values
array<string, mixed>
get()
¶
RuntimeContext.php
:
40
Returns the value of the option identified by $key.
|
|
If the option does not exist, returns $default.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$key | string | - | - |
$default | mixed | null | - |
getIterator()
¶
RuntimeContext.php
:
50
|
|
Return values
Iterator
has()
¶
RuntimeContext.php
:
45
Checks if the option identified by $key exists.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$key | string | - | - |
Return values
bool
offsetExists()
¶
RuntimeContext.php
:
55
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$offset | mixed | - | - |
Return values
bool
offsetGet()
¶
RuntimeContext.php
:
60
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$offset | mixed | - | - |
offsetSet()
¶
RuntimeContext.php
:
65
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$offset | mixed | - | - |
$value | mixed | - | - |
offsetUnset()
¶
RuntimeContext.php
:
70
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$offset | mixed | - | - |