trait Illuminate / Broadcasting / InteractsWithBroadcasting
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

InteractsWithBroadcasting

Properties

protected

$broadcastConnection array

The broadcaster connection to use to broadcast the event.

Default: array

Methods

public

broadcastVia ( $connection ) : $this

Broadcast the event using a specific broadcaster.

Parameters

  • $connection array|string|null
public

broadcastConnections ( ) : array

Get the broadcaster connections the event should be broadcast on.