Get the specified key from the cache implementation.

@param $key
@param mixed $default
@return mixed
345020
public function get($key, $default = null) {
        if (!$this->has($key)) {
            return $default;
        }

        return @unserialize(file_get_contents($this->baseDir . '/' . md5($key))) ?: $default;
    }
12538
public function get($key, $default = null)
    {
        $config = $this->config;

        foreach (explode('.', $key) as $k) {
            if (! isset($config[$k])) {
                return $default;
            }
            $config = $config[$k];
        }

        return $config;
    }
372878
public static function get($key, $default = NULL) {
        if (isset(self::$configs[$key]))
            return self::$configs[$key];

        return $default;

    }
1337054
public function get($key, $default = null)
    {
        if (! $this->cache) {
            return $this->getNoCache($key, $default);
        }

        return Cache::rememberForever('settings-'.implode(',', (array) $key), function () use ($key, $default) {
            return $this->getNoCache($key, $default);
        });
    }
494906
public function get($key, $default = null) {
		$this->refresh();
		$keys = explode('.', $key);
		$conf = $this->cache;
		foreach ($keys as $v) {
			if (isset($conf[$v])) {
				$conf = $conf[$v];
			} else {
				return $default;
			}
		}
		return $conf;
	}
892350
public static function get($key, $default = false)
	{
		$instance = self::getInstance();

		return (isset($instance->config[$key])) ? $instance->config[$key] : $default;
	}
296045
public function get($key, $default = null)
    {
        $value = parent::get($key, $default);
        if (is_array($value)) {
            $value = array_shift($value);
        }
        return $value;
    }
938051
public function get($key, $default = null)
	{
		$value = $this->store->get($key);

		return ! is_null($value) ? $value : value($default);
	}
1111675
public function pull($key, $default = null)
    {
        if (isset($this->cache[$key])) {
            $cached = $this->cache[$key];
            unset($this->cache[$key]);

            return $cached;
        }

        return $default;
    }
154572
public function get($key, $default = null) {
		$key = $this->getKey($key);
		$result = getConf($key);
		return $result === null ? $default : $result;
	}
636307
public function get($key, $default = null) {
		$key = $this->extractKey($key);
		if (isset($this->collection[$key])) {
			return $this->collection[$key];
		} else {
			return $default;
		}
	}
680568
public function get($key, $default = null)
    {
        $value = $this->fetch($key);

        return (!is_null($value)) ? $value : $default;
    }
31747
public function getFromCache($key, $default = null)
    {
        $fullKey = $this->makeCacheKey($key);

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

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

        return $default;
    }
1039449
public function runTimeCacheGet($key, $default = null)
	{
		// Is this key exists?
		if (array_key_exists($key, $this->runTimeCache)) {
			return $this->runTimeCache[$key];
		}

		return $default;
	}
1254971
protected function getCache($key, $default)
    {
        if (!isset($this->cache[$key])) {
            $this->cache[$key] = is_callable($default) ? $default() : $default;
        }
        return $this->cache[$key];
    }
140882
public function get($key, $default = null)
    {
        $keys = explode('.', $key);
        $value = $default;
        foreach ( $keys as $i => $_key ) {
            if ( ! $i && isset($this->_params[$_key]) ) {
                $value = $this->_params[$_key];
            } elseif ( is_array($value) && isset($value[$_key]) ) {
                $value = $value[$_key];
            } else {
                $value = $default;
                break;
            }
        }
        return $value;
    }