Snc\RedisBundle\Session\Storage\Handler\RedisSessionHandler::getRedisKey PHP Method

getRedisKey() protected method

Prepends the given key with a user-defined prefix (if any).
protected getRedisKey ( string $key ) : string
$key string key
return string prefixed key
    protected function getRedisKey($key)
    {
        if (empty($this->prefix)) {
            return $key;
        }
        return $this->prefix . $key;
    }