src/Caching/VersionedCacheAdapter.php
protected function getKeyID($key)
    {
        $state = Versioned::get_reading_mode();
        if ($state) {
            return $key . '_' . md5($state);
        }
        return $key;
    }
protected function getKeyID($key)
    {
        $state = Versioned::get_reading_mode();
        if ($state) {
            return $key . '_' . md5($state);
        }
        return $key;
    }
protected function getKeyID ( $ key ) { $ state = Versioned :: get_reading_mode ( ) ; if ( $ state ) { return $ key . '_' . md5 ( $ state ) ; } return $ key ; }
Ensure keys are segmented based on reading mode

@param string $key
@return string
Ensure keys are segmented based on reading mode