PHP Class Socieboy\Forum\Events\NewConversation

Inheritance: extends App\Events\Event, implements Illuminate\Contracts\Broadcasting\ShouldBroadcast, use trait Illuminate\Queue\SerializesModels
Exibir arquivo Open project: socieboy/forum

Public Properties

Property Type Description
$conversation Socieboy\Forum\Entities\Conversations\Conversation

Public Methods

Method Description
__construct ( Conversation $conversation ) Create a new event instance.
broadcastOn ( ) : array Get the channels the event should be broadcast on.
broadcastWith ( ) : array Get the data to broadcast.

Method Details

__construct() public method

Create a new event instance.
public __construct ( Conversation $conversation )
$conversation Socieboy\Forum\Entities\Conversations\Conversation

broadcastOn() public method

Get the channels the event should be broadcast on.
public broadcastOn ( ) : array
return array

broadcastWith() public method

Get the data to broadcast.
public broadcastWith ( ) : array
return array

Property Details

$conversation public_oe property

public Conversation,Socieboy\Forum\Entities\Conversations $conversation
return Socieboy\Forum\Entities\Conversations\Conversation