class VoteEvent extends Event

This event is dispatched on voter vote.

Methods

bool
isPropagationStopped()

Returns whether further event listeners should be triggered.

from Event
stopPropagation()

Stops the propagation of the event to further event listeners.

from Event
__construct(VoterInterface $voter, $subject, array $attributes, int $vote)

No description

getVoter()

No description

getSubject()

No description

array
getAttributes()

No description

int
getVote()

No description

Details

bool isPropagationStopped()

Returns whether further event listeners should be triggered.

Return Value

bool Whether propagation was already stopped for this event

See also

stopPropagation()

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().

__construct(VoterInterface $voter, $subject, array $attributes, int $vote)

Parameters

VoterInterface $voter
$subject
array $attributes
int $vote

VoterInterface getVoter()

Return Value

VoterInterface

getSubject()

array getAttributes()

Return Value

array

int getVote()

Return Value

int