FakePendingBroadcast
class FakePendingBroadcast extends PendingBroadcast (View source)
Properties
| protected Dispatcher | $events | The event dispatcher implementation. |
from PendingBroadcast |
| protected mixed | $event | The event instance. |
from PendingBroadcast |
Methods
__construct()
Create a new pending broadcast instance.
$this
via(UnitEnum|string|null $connection = null)
Broadcast the event using a specific broadcaster.
$this
toOthers()
Broadcast the event to everyone except the current user.
void
__destruct()
Handle the object's destruction.
Details
__construct()
Create a new pending broadcast instance.
$this
via(UnitEnum|string|null $connection = null)
Broadcast the event using a specific broadcaster.
$this
toOthers()
Broadcast the event to everyone except the current user.
void
__destruct()
Handle the object's destruction.
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.