Copied!

BeforeUpdateParticipantEvent

BeforeUpdateParticipantEvent.php : 17
Final
Extends BeforeEvent

Event emitted before action execution.

Methods

public__construct()

BeforeUpdateParticipantEvent.php : 27
public __construct(SessionInterface $session, ParticipantInterface $participant, AbstractParticipantUpdateStruct $updateStruct[, ParticipantInterface|null $participantResult = null ])

Parameters

Name Type Default value Description
$session SessionInterface - -
$participant ParticipantInterface - -
$updateStruct AbstractParticipantUpdateStruct - -
$participantResult ParticipantInterface|null null -

publicgetParticipant()

BeforeUpdateParticipantEvent.php : 44
public getParticipant() : ParticipantInterface

Return values

ParticipantInterface

publicgetParticipantResult()

BeforeUpdateParticipantEvent.php : 54
public getParticipantResult() : ParticipantInterface

Return values

ParticipantInterface

publicgetSession()

BeforeUpdateParticipantEvent.php : 39
public getSession() : SessionInterface

Return values

SessionInterface

publicgetUpdateStruct()

BeforeUpdateParticipantEvent.php : 49
public getUpdateStruct() : AbstractParticipantUpdateStruct

Return values

AbstractParticipantUpdateStruct

publichasParticipantResult()

BeforeUpdateParticipantEvent.php : 70
public hasParticipantResult() : bool

Return values

bool

publicisPropagationStopped()

Event.php : 38
public isPropagationStopped() : bool

Return values

bool

publicsetParticipantResult()

BeforeUpdateParticipantEvent.php : 65
public setParticipantResult(ParticipantInterface|null $participantResult) : void

Parameters

Name Type Default value Description
$participantResult ParticipantInterface|null - -

publicstopPropagation()

Event.php : 50

Stops the propagation of the event to further event listeners.

public stopPropagation() : void

If multiple event listeners are connected to the same event, no further event listener will be triggered once any trigger calls stopPropagation().