class ConversationSubscriber implements EventSubscriberInterface

An event subscriber for events related to conversations

Methods

static array
getSubscribedEvents()

Returns all the events that this subscriber handles, and which method handles each one

onTeamMembershipChange(Event $event, string $type)

Called every time a member is added/removed from a team

onTeamLeave(Event $event)

When a player leaves a team, remove them from every conversation that includes that team

Details

at line line 23
static array getSubscribedEvents()

Returns all the events that this subscriber handles, and which method handles each one

Return Value

array

at line line 43
onTeamMembershipChange(Event $event, string $type)

Called every time a member is added/removed from a team

Parameters

Event $event The event
string $type The type of the event

at line line 58
onTeamLeave(Event $event)

When a player leaves a team, remove them from every conversation that includes that team

Parameters

Event $event The event