Database::subscribe()

void subscribe(array|string $channels, Closure $callback, string $connection = null, string $method = 'subscribe')

Subscribe to a set of given channels for messages.

Parameters

array|string $channels
Closure $callback
string $connection
string $method

Return Value

void
doc_Laravel
2016-11-02 16:14:00
Comments
Leave a Comment

Please login to continue.