PHP Class Socieboy\Forum\Events\BestAnswer

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

Public Properties

Property Type Description
$reply Socieboy\Forum\Entities\Replies\Reply

Public Methods

Method Description
__construct ( Reply $reply ) 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 ( Reply $reply )
$reply Socieboy\Forum\Entities\Replies\Reply

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

$reply public_oe property

public Reply,Socieboy\Forum\Entities\Replies $reply
return Socieboy\Forum\Entities\Replies\Reply