/var/www/cobraambalaj/vendor/laravel/framework/src/Illuminate/Broadcasting
Edit: /var/www/cobraambalaj/vendor/laravel/framework/src/Illuminate/Broadcasting/PendingBroadcast.php (1159B)
event = $event;
$this->events = $events;
}
/**
* Broadcast the event to everyone except the current user.
*
* @return $this
*/
public function toOthers()
{
if (method_exists($this->event, 'dontBroadcastToCurrentUser')) {
$this->event->dontBroadcastToCurrentUser();
}
return $this;
}
/**
* Handle the object's destruction.
*
* @return void
*/
public function __destruct()
{
$this->events->dispatch($this->event);
}
}