trait Illuminate / Broadcasting / InteractsWithBroadcasting

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.