PusherBroadcaster

class PusherBroadcaster implements Broadcaster (View source)

Properties

protected Pusher $pusher The Pusher SDK instance.

Methods

void __construct(Pusher $pusher)

Create a new broadcaster instance.

void broadcast(array $channels, string $event, array $payload = [])

Broadcast the given event.

Pusher getPusher()

Get the Pusher SDK instance.

Details

void __construct(Pusher $pusher)

Create a new broadcaster instance.

Parameters

Pusher $pusher

Return Value

void

void broadcast(array $channels, string $event, array $payload = [])

Broadcast the given event.

Parameters

array $channels
string $event
array $payload

Return Value

void

Pusher getPusher()

Get the Pusher SDK instance.

Return Value

Pusher

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.1/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.html