RangeAggregationResult
RangeAggregationResult.php
:
21
Final
Extends AggregationResult
Implements
IteratorAggregate, Countable
The base class for all value objects and structs.
Methods¶
__construct()
¶
RangeAggregationResult.php
:
29
Construct object optionally with a set of properties.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$name | string | - | - |
$entries | array<string|int, RangeAggregationResultEntry<string|int, TValue>> | [] | - |
count()
¶
RangeAggregationResult.php
:
85
|
|
Return values
int
getEntries()
¶
RangeAggregationResult.php
:
44
|
|
Return values
array<string|int, RangeAggregationResultEntry<string|int, TValue>>
getEntry()
¶
RangeAggregationResult.php
:
54
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$key | Range | - | - |
Return values
RangeAggregationResultEntry|null
getIterator()
¶
RangeAggregationResult.php
:
93
|
|
Return values
Iterator<Range<string|int, TValue>, int>
getKeys()
¶
RangeAggregationResult.php
:
78
Return available keys (ranges).
|
|
Return values
iterable<string|int, Range<string|int, TValue>>
getName()
¶
AggregationResult.php
:
27
|
|
Return values
string
hasEntry()
¶
RangeAggregationResult.php
:
68
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$key | Range | - | - |
Return values
bool
isEmpty()
¶
RangeAggregationResult.php
:
36
|
|
Return values
bool
getProperties()
¶
ValueObject.php
:
53
Returns list of available properties' names.
|
|
Override to add dynamic properties.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$dynamicProperties | array<int, string> | [] |
Additional dynamic properties exposed on the object |
Return values
array<int, string>
Attributes
- #[Ignore]