W3cubDocs

/Laravel 5.2

RedisBroadcaster

class RedisBroadcaster implements Broadcaster (View source)

Methods

void __construct( Database $redis, string $connection = null)

Create a new broadcaster instance.

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

Broadcast the given event.

Details

void __construct( Database $redis, string $connection = null)

Create a new broadcaster instance.

Parameters

Database $redis
string $connection

Return Value

void

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

Broadcast the given event.

Parameters

array $channels
string $event
array $payload

Return Value

void

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