PusherBroadcaster (Broadcasting\Broadcasters)
PusherBroadcaster
class PusherBroadcaster implements Broadcaster (View source)
Methods
void | __construct( Pusher $pusher) Create a new broadcaster instance. | |
void | broadcast( array $channels, string $event, array $payload = array()) 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 = array())
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.1/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.html