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.
void broadcast(array $channels, string $event, array $payload = [])
Broadcast the given event.
Pusher getPusher()
Get the Pusher SDK instance.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.2/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.html