trait Illuminate / Broadcasting / InteractsWithBroadcasting
You are viewing an older version of the documentation. For the latest, please visit master documentation.

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.