Predis\PubSub\DispatcherLoop::getPrefixKeys PHP Méthode

getPrefixKeys() protected méthode

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