Lines Matching refs:key
53 $key = $this->getFullCacheKey($k);
54 if (is_null($key)) {
58 $cacheItem = $this->cache->getItem($key);
77 $key = $this->getFullCacheKey($k);
78 if (is_null($key)) {
82 $cacheItem = $this->cache->getItem($key);
89 * @param null|string $key
92 private function getFullCacheKey($key) argument
94 if (is_null($key)) {
98 $key = $this->cacheConfig['prefix'] . $key;
101 $key = preg_replace('|[^a-zA-Z0-9_\.!]|', '', $key);
104 if ($this->maxKeyLength && strlen($key) > $this->maxKeyLength) {
105 $key = substr(hash('sha256', $key), 0, $this->maxKeyLength);
108 return $key;