Predis\PubSub\DispatcherLoop::getPrefixKeys PHP Method

getPrefixKeys() protected method

Return the prefix used for keys.
protected getPrefixKeys ( ) : string
return string
    protected function getPrefixKeys()
    {
        $options = $this->pubsub->getClient()->getOptions();
        if (isset($options->prefix)) {
            return $options->prefix->getPrefix();
        }
        return '';
    }