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

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

Create a new broadcaster instance.

Parameters

Database $redis
string $connection

Return Value

void

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

Broadcast the given event.

Parameters

array $channels
string $event
array $payload

Return Value

void