class PendingBroadcast (View source)

Properties

protected Dispatcher $events

The event dispatcher implementation.

protected mixed $event

The event instance.

Methods

void
__construct(Dispatcher $events, mixed $event)

Create a new pending broadcast instance.

$this
toOthers()

Broadcast the event to everyone except the current user.

void
__destruct()

Handle the object's destruction.

Details

void __construct(Dispatcher $events, mixed $event)

Create a new pending broadcast instance.

Parameters

Dispatcher $events
mixed $event

Return Value

void

$this toOthers()

Broadcast the event to everyone except the current user.

Return Value

$this

void __destruct()

Handle the object's destruction.

Return Value

void

Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.