Event emitted before action execution.
Methods¶
__construct()
¶
BeforeAddParticipantEvent.php
:
25
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$session | SessionInterface | - | - |
$createStruct | AbstractParticipantCreateStruct | - | - |
$participantResult | ParticipantInterface|null | null | - |
getCreateStruct()
¶
BeforeAddParticipantEvent.php
:
40
|
|
Return values
AbstractParticipantCreateStruct
getParticipantResult()
¶
BeforeAddParticipantEvent.php
:
45
|
|
Return values
getSession()
¶
BeforeAddParticipantEvent.php
:
35
|
|
Return values
hasParticipantResult()
¶
BeforeAddParticipantEvent.php
:
61
|
|
Return values
bool
isPropagationStopped()
¶
Event.php
:
38
|
|
Return values
bool
setParticipantResult()
¶
BeforeAddParticipantEvent.php
:
56
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$participantResult | ParticipantInterface|null | - | - |
stopPropagation()
¶
Event.php
:
50
Stops the propagation of the event to further event listeners.
|
|
If multiple event listeners are connected to the same event, no further event listener will be triggered once any trigger calls stopPropagation().