PendingBroadcast
in package
Table of Contents
- $event : mixed
- The event instance.
- $events : Dispatcher
- The event dispatcher implementation.
- __construct() : void
- Create a new pending broadcast instance.
- __destruct() : void
- Handle the object's destruction.
- toOthers() : $this
- Broadcast the event to everyone except the current user.
Properties
$event
The event instance.
protected
mixed
$event
$events
The event dispatcher implementation.
protected
Dispatcher
$events
Methods
__construct()
Create a new pending broadcast instance.
public
__construct(Dispatcher $events, mixed $event) : void
Parameters
- $events : Dispatcher
- $event : mixed
Return values
void —__destruct()
Handle the object's destruction.
public
__destruct() : void
Return values
void —toOthers()
Broadcast the event to everyone except the current user.
public
toOthers() : $this