CampCacheList::getCacheKey PHP Method

getCacheKey() private method

Generate the cache key for the list based on parameters.
private getCacheKey ( ) : string
return string m_cacheKey
    private function getCacheKey()
    {
        if (is_null($this->m_cacheKey)) {
            foreach ($this->m_parameters as $paramName => $paramValue) {
                if (is_array($paramValue)) {
                    $this->m_parameters[$paramName] = serialize($paramValue);
                }
            }
            $paramString = implode('_', $this->m_parameters);
            $this->m_cacheKey = $this->m_methodName . '_' . $paramString;
        }
        return $this->m_cacheKey;
    }