publish
Description
Publish messages to channels. Warning: this function will probably change in the future.
Parameters
channel: a channel to publish to
messsage: string
Example
$redis->publish('chan-1', 'hello, world!'); // send message.
Publish messages to channels. Warning: this function will probably change in the future.
channel: a channel to publish to
messsage: string
$redis->publish('chan-1', 'hello, world!'); // send message.