ElggMemcache::makeMemcacheKey PHP Method

makeMemcacheKey() private method

Memcache can only accept <250 char key. If the given key is too long it is shortened.
private makeMemcacheKey ( string $key ) : string
$key string The key
return string The new key.
    private function makeMemcacheKey($key)
    {
        // using stacks grouping http://www.stashphp.com/Grouping.html#stacks
        // this will allowing clearing the namespace later
        return "/{$this->getNamespace()}/{$key}";
    }