Retrieves a cached value.

@param string    $key   The cache key.
@param bool|null $found Optional. Whether the key was found in the cache. Disambiguates a return of false as a storable value. Passed by reference. Default null.

@return mixed
353419
public function get( $key, &$found = null ) {
		return \wp_cache_get( $this->get_key( $key ), $this->group, false, $found );
	}
997641
public function get($key)
	{
		if ($value = $this->memcache->get($this->prefix.$key)) {
		    return $value;
		}
	}
324833
public function get($key)
    {
        if (!$this->isEnabled()) {
            return null;
        }

        $value = $this->server->get($this->prefix . $key);

        return false === $value ? null : $value;
    }
763138
protected function retrieve($key)
    {
        if (!is_null($cache = $this->redis->get($key))) {
            return unserialize($cache);
        }

        return null;
    }
521752
public function get(CacheKey $key) {

		if (!empty($this->elements[$key->getModule()] [$key->getProperty()])) {
            /** @noinspection PhpUndefinedMethodInspection */
            $tValue = $this->elements[$key->getModule()] [$key->getProperty()]->getValue ();
			return $tValue;
		} else {
			return false;
		}
	}
712758
public function getFromCache($key)
  {
    $file = $this->cachePath . $this->getEncodedKey($key);
    if (file_exists($file)) {
      return unserialize(file_get_contents($file));
    }
    return null;
  }
14008
public function get($key, $default = false)
    {
        $value = $this->memcached->get($key);

        if ($this->memcached->getResultCode() == 0) {
            return $value;
        } else {
            return $default;
        }
    }
389971
public function getCache($key) {
        if (!$this->__cacheEnabled) {
            return null;
        }

        $key = $this->createCacheKey($key);

        if ($this->hasCache($key)) {
            return $this->_cache[$key];
        }

        return null;
    }
1280790
public function getValueStored($key)
    {
        if (isset($this->storedValues[$key])) {
            return $this->storedValues[$key];
        } else {
            return null;
        }
    }
425619
public function find($cacheKey)
    {
        $key = array_search($cacheKey, $this->cachedKeys);

        if ($key != false and ! $this->cache->has($key))
        {
            unset($this->cachedKeys[$key]);
            $this->storeCachedKeys();

            return false;
        }

        return $key ? $this->cache->get($key) : false;
    }
842033
public function get($key, $default = null) {
        $value = $this->memcached->get($key);

        if ($this->memcached->getResultCode() == 0) {
            return $value;
        }

        return $default;
    }
1201056
private function fetch($key)
    {
        $keyExp = explode('.', $key);

        if ($this->cache->has($key))
        {
            return $this->cache->get($key);
        }


        $row = $this->database
            ->table($this->config['db_table'])
            ->where('setting_key', $keyExp[0])
            ->first(['setting_value']);

        if ( ! is_null($row))
        {
            $setting_value = json_decode($row->setting_value, true);
            $value         = set_nested_array_value($setting_value, $keyExp);

            return $this->cache->set($key, $value);
        }

        return null;
    }
745407
public function retrieve($key)
    {
        $key = (string)$key;
        if ($cache = $this->loadCache()) {
            if (isset($cache[$key])) {
                if (!$this->isExpired($cache[$key]['time'], $cache[$key]['expire'])) {
                    return unserialize($cache[$key]['data']);
                }
            }
        }
        return null;
    }
745276
public static function get(string $key)
    {
        if (isset($_COOKIE[$key]) === false) {
            return null;
        }

        $serializedValue = $_COOKIE[$key];
        $value = unserialize($serializedValue);

        return $value;
    }
1020145
protected function getCachedValue($key)
    {
        $this->cache->setPrefix($this->dataProvider->getCachePrefix());
        return $this->cache->get($key);
    }
806991
public function get(CacheKey $key) {

        $value = $this->redis->get($this->getKey($key));

        $unserialized = @unserialize($value);

        if ($unserialized !== false) {
            $value = $unserialized;
        } else if ($value === null) {
            $value = false;
        }

        return $value;
    }
758738
protected function getCacheContent($key = null)
    {
        if (!$this->cache instanceof CacheInterface) {
            return false;
        }
        if (isset($key) && ($result = $this->cache->get($key)) !== false) {
            if (is_array($result) && isset($result['placeholders'], $result['result'])) {
                $this->addMultiPlaceholders($result['placeholders']);
                $result = $result['result'];
            }

            return $result;
        }

        return false;
    }