\App\EventsConversationEvent

ConversationEvent trait that provides helper functions.

Summary

Methods
Properties
Constants
No public methods found
No public properties found
No constants found
getConversationChannel()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

getConversationChannel()

getConversationChannel(string  $username1, string  $username2) : \Illuminate\Broadcasting\PrivateChannel

Get the name of a conversation channel between two users.

Parameters

string $username1
string $username2

Returns

\Illuminate\Broadcasting\PrivateChannel