Methods¶
__construct() ¶
InMemoryEventSource.php
:
25
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$events | EventCollection | - | - |
getCount() ¶
InMemoryEventSource.php
:
30
Returns the number of events matching given $query.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$query | EventQuery | - | - |
Return values
int
getEvents() ¶
InMemoryEventSource.php
:
44
Returns events matching given $query.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$query | EventQuery | - | - |
Return values
array<string|int, Event>
loadEvents() ¶
InMemoryEventSource.php
:
35
Bulk-load Events with given id's.
|
|
Impl. should skip not relevant and erroneous ids.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$eventIds | array<string|int, mixed> | - | - |
Return values
array<string|int, Event>