library/Rediska/PubSub/Channel.php
public function publish($message)
    {
        $rediska = $this->getRediska();

        if ($this->getServerAlias() !== null) {
            $rediska = $rediska->on($this->getServerAlias());
        }

        return $rediska->publish($this->_subscriptions, $message);
    }
public function publish($message)
    {
        $rediska = $this->getRediska();

        if ($this->getServerAlias() !== null) {
            $rediska = $rediska->on($this->getServerAlias());
        }

        return $rediska->publish($this->_subscriptions, $message);
    }
Publish a message to channel

@param $message
@return int