Nette\Caching\Cache::generateKey PHP Method

generateKey() protected method

Generates internal cache key.
protected generateKey ( $key ) : string
return string
    protected function generateKey($key)
    {
        return $this->namespace . md5(is_scalar($key) ? $key : serialize($key));
    }