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.