class ConversationQueryBuilder extends QueryBuilder

This class can be used to search for conversations with specific characteristics in the database.

Methods

forPlayer(Player $player)

Only return messages that are sent from/to a specific player

forTeam(Team $team)

Only return messages that are sent from/to a specific team

Details

at line line 23
ConversationQueryBuilder forPlayer(Player $player)

Only return messages that are sent from/to a specific player

Parameters

Player $player The player related to the messages

Return Value

ConversationQueryBuilder

at line line 41
ConversationQueryBuilder forTeam(Team $team)

Only return messages that are sent from/to a specific team

Parameters

Team $team The team related to the messages

Return Value

ConversationQueryBuilder