获取缓存
@param string $alias
@param mixed $default
@return mixed
431364
public static function get($cacheName, $default = false, $option = array(), $alias = null)
	{
		$obj = self::getInstance($alias);
		if ($obj)
		{
			return $obj->get($cacheName, $default, $option);
		}
		else
		{
			return false;
		}
	}
252263
public function get($index, $default = null)
    {
        if (isset($this->data[$index])) {
            return $this->data[$index];
        }

        return $default;
    }
1002142
public function resolveAlias(string $alias)
    {
        if (isset($this->aliases[$alias]))
            return $this->aliases[$alias];

        if (empty($this->parent_scope))
            return null;

        return $this->parent_scope->resolveAlias($alias);
    }
1005232
public function get($key = null, $default = null)
	{
		if ( is_null($key) )
		{
			return $this->get;
		}

		return Arr::get($this->get, $key, $default);
	}
932151
public function get($name, $default = false) {
        $value = $this->handler->get($name);
        if (is_null($value)) {
            return $default;
        }
        $jsonData = json_decode($value, true);
        // 检测是否为JSON数据 true 返回JSON解析数组, false返回源数据
        return (null === $jsonData) ? $value : $jsonData;
    }
848585
public function get($name, $default = null)
    {
        if (isset($this->data[$name])) {
            return $this->data[$name];
        }

        return $default;
    }
1187528
public static function
	Get($Alias='Default') {
	/*//
	@return Nether\Database
	fetch a database object which has already been created once before. unless
	there was not, in which case create one, save it, then hand it back. this
	is the other half of what will make dependency injection work - call this
	to get your database handle instead of "new Nether\Database" - then in your
	unit tests you can Nether\Database::$DBO[$Alias] = a mock prior to testing.
	//*/

		// if we already have an item created here then we shall reuse it.
		if(array_key_exists($Alias,static::$DBO))
		if(static::$DBO[$Alias] instanceof Nether\Database)
		return static::$DBO[$Alias];

		// else we will create a new one.
		return static::$DBO[$Alias] = new static($Alias);
	}
540033
static function of($alias, $defaults = null)
    {
        $EnvClass = static::createEnvInstance($alias);
        if (null !== $defaults)
            $EnvClass->import($defaults);
        
        
        return $EnvClass;
    }
1098343
public function load($alias)
    {
        if (isset($this->aliases[$alias])) {
            return class_alias($this->aliases[$alias], $alias);
        }
        return null;
    }
520593
public function alias($abstract, $alias)
    {
        $this->aliases[$alias] = $abstract;
//        $this->abstractAliases[$abstract][] = $alias;

        $this->share($alias, function () use ($abstract) {
            return $this->get($abstract);
        });
    }
1169378
public function default($key, $default = null)
	{
		if($this->has($key))
			return $this->get($key);

		$this->put($key, $default);

		return $default;
	}
334443
public static function getAlias($alias)
    {
        return isset(self::$_aliases[$alias]) ? self::$_aliases[$alias] : null;
    }
767659
protected static function __createAfter(&$option,$alias,&$object)
	{
		if ('@' !== $alias && $object->merge && null !== self::$defaultObject)
		{
			// 将数据合并到公用项
			self::$defaultObject->set($object->get());
		}
		$data = $object->get('CONFIGS');
		if(is_array($data))
		{
			// 循环加载配置文件中的配置文件
			foreach($data as $name => $option)
			{
				self::create($option,$name);
			}
		}
	}
199202
public static function get($name, $default = '') {
        $_GET = self::paramFilter($_GET);
        if (isset($_GET[$name])) {
            if (empty($_GET[$name])) {
                return $default;
            }
            return $_GET[$name];
        }
        return false;
    }
211642
static function get($alias = null)
    {
        if ($alias === null) {
            return static::$config[static::$default];
        }
        if (isset(static::$config[$alias])) {
            return static::$config[$alias];
        } else {
            return false;
        }
    }
112562
public function alias(string $alias, string $original)
    {
        $this->aliases[$alias] = $this->getRealId($original);

        return $this;
    }
301436
public function getHeader($key, $default = NULL) {
        // 延时加载，提升性能
        if ($this->headers === NULL) {
            $this->headers = $this->getAllHeaders();
        }

        // 保持一致性，兼容多种格式的KEY输入，提高友好性 @dogstar 2019032
        if (stripos($key, 'HTTP_') !== FALSE) {
            $key = $this->formatHeaderKey($key);
        }

        return isset($this->headers[$key]) ? $this->headers[$key] : $default;
    }