class ConversationJoinEvent extends Event

Event thrown when players join a conversation

Methods

__construct(Conversation $conversation, array $members)

Create a new event

getConversation()

Get the conversation that was renamed

Model[]
getNewMembers()

Get the Players and Teams who joined the conversation

serialize()

Serialize an event so that it can be stored in the database

unserialize(string $data)

Call the event's constructor using serialized data

Details

at line line 31
__construct(Conversation $conversation, array $members)

Create a new event

Parameters

Conversation $conversation The conversation in question
array $members The players and teams who joined the conversation

at line line 42
Conversation getConversation()

Get the conversation that was renamed

Return Value

Conversation

at line line 52
Model[] getNewMembers()

Get the Players and Teams who joined the conversation

Return Value

Model[]

at line line 60
serialize()

Serialize an event so that it can be stored in the database

at line line 82
unserialize(string $data)

Call the event's constructor using serialized data

Parameters

string $data