获取配置

@access public
@param string $key 形似a.b.c的key
@param mixed $default 默认
@return mixed
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;
	}
710100
public function get($key, $default = null) {
        $key = $this->getAbsoluteConfigKey($key);

        return $this->getConfigParser()
            ->parse($this, array_get($this->config, $key, $default));
    }
476090
public function get(string $key, $default = null)
    {
        $k = $this->keyConvert($key);
        $v = getenv($k);
        return $v !== false ? $v : $default;
    }
436284
public function get($key, $default = null)
    {
        if (array_key_exists($key, $this->params)) {
            return $this->params[$key];
        }

        return $default;
    }
213226
public static function get($key, $default = null)
    {
        if ( ! is_string($key)) {
            return $default;
        }
        $key = strtoupper($key);
        if ( ! strpos($key, '.')) {
            return isset(self::$config[$key]) ? self::$config[$key] : $default;
        } else {
            // 试图获取二维数组值
            $d = explode('.', $key);
            $d1 = array_shift($d);
            $d2 = implode('.', $d);

            return isset(self::$config[$d1][$d2]) ? self::$config[$d1][$d2] : $default;
        }
    }
995028
public function get($key, $default = null) {
		$this->check();
		$value = $this->readValue($key);
		return is_null($value) ? $default : $value;
	}
544880
public function get($key, $default = null)
    {
        $this->checkKey($key);
        if ($this->noCache()) {
            return $default;
        }
        $value = $this->getRedis()->get($this->filterKey($key));
        return $value === false ? $default : $value;
    }
390673
public function get($key, $default = null)
    {
        $values = parent::get(static::normalizeKey($key), $default);

        if (is_array($values) && count($values) === 1) {
            return $values[0];
        }
        return $values;
    }
329215
public function get($key, $default = NULL) {
    $value = parent::get($key);

    if (isset($value)) {
      return $value;
    }

    return $default;
  }
475736
public function get($key, $default = null)
    {
        if ($this->has($key)) {
            return $this->values[$key][static::VALUE];
        }

        return $default;
    }
386510
public function get($key, $default = false)
    {
        if ($this->has($key) !== false) {
            return $this->cache[$key];
        } else {
            return $default;
        }
    }
345020
public function get($key, $default = null) {
        if (!$this->has($key)) {
            return $default;
        }

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

        return $this->getFromCacheOld($key, $default);
    }
873666
public function get($key = null, $default = null)
	{
		$return = $this->data;

		if ($key !== null) {
			$keys = explode('.', $key);

			foreach ($keys as $key) {
				if (isset($return[(string) $key])) {
					$return = $return[$key];
				} else {
					$return = $default;
					break;
				}
			}
		}

		return $return;
	}
510254
public function get($key, $default = null)
    {
        $hash = $this->key_to_hash($key);
        if (array_key_exists($hash, $this->array)) {
            return $this->array[$hash];
        } else {
            return $default;
        }
    }
635198
public function get( $key, $default = null ) 
	{
		if ( !isset( $this->GET[$key] ) ) 
		{
			return $default;
		}
		return $this->GET[$key];
	}
296850
public function get(string $key, $default = null)
    {
        $value = Arr::get($this->items, $key);

        if (\is_null($value)) {
            return \value($default);
        }

        return $value;
    }