extends |
BaseDataCollectionEvent |
|---|
A generic event used to collect data with a specified order.
Unlike the BaseDataCollectionEvent , results are always appended to the results array and never merged.
| Methods | ||
|---|---|---|
public
|
__construct(string $eventName = null)
|
# |
public
|
addResult(array<mixed> $result, int $weight = 0): void
|
# |
public
|
getResults(): array<mixed>
|
# |
| Methods inherited from SimpleID\Util\Events\BaseDataCollectionEvent |
|---|
hasResults(), isEmpty() |
| Methods used from SimpleID\Util\Events\GenericEventTrait |
|---|
setEventName(), getEventName() |
| Constants inherited from SimpleID\Util\Events\BaseDataCollectionEvent |
|---|
|
| Properties inherited from SimpleID\Util\Events\BaseDataCollectionEvent |
|---|
$results, $mergeStrategy |
| Properties used from SimpleID\Util\Events\GenericEventTrait |
|---|
$eventName |