get only common range
@param  string $name
@param  mixed  $default
@return mixed
8875
static public function getCommon($name = null, $default=null)
    {
        $value = self::get($name, self::$range);
        return $value === null ? $default : $value;
    }
1181209
public function pull($name, $default = null)
    {
        $result = $this->get($name, false);
        if ($result) {
            $this->delete($name);

            return $result;
        } else {
            return $default;
        }
    }
821519
public function getPoint($name, $default = null)
	{
		if (isset($this->lookup[$name]))
		{
			$index = $this->lookup[$name];

			return $this->points[$index];
		}

		return $default;
	}
504835
public function getRequest($name, $default = null)
    {
        if (isset($this->queryParams[$name])) {
            return $this->queryParams[$name];
        }

        if (isset($this->bodyParams[$name])) {
            return $this->bodyParams[$name];
        }

        return $default;
    }
320876
public function getParam($name, $default = null)
    {
        if (is_array($name)) {
            return TreeTools::getByPath($this->components[self::QUERY], $name, $default);
        }
        if (isset($this->components[self::QUERY][$name])) {
            return $this->components[self::QUERY][$name];
        }

        return $default;
    }
530819
public static function get($name = null, $default = null)
    {
        if (!$name) {
            return self::$config;
        } else {
            $keys = explode('.', $name);
            $ret = self::$config;
            while ($key = array_shift($keys)) {
                if (isset($ret[$key])) {
                    $ret = $ret[$key];
                } else {
                    return $default;
                }
            }

            return $ret;
        }
    }
1076198
public static function get($name = null, $default = null)
    {
        $queryParams = app()->request->getQueryParams();

        if (is_null($name)) {
            return $queryParams;
        } elseif (isset($queryParams[$name])) {
            return $queryParams[$name];
        }

        return $default;
    }
806879
public function getParam($name, $default = null)
    {
        $params = $this->_context->params;
        return isset($params[$name]) ? $params[$name] : $default;
    }
727963
public function getValue($name, $default = 0)
    {
        $current = $this->read($name, $default);

        return $this->update($name, $current + 1);
    }
9353
public function get($name, $default = null)
    {
        if (is_array($name)) {
            $result = [];

            foreach ($name as $key => $value) {
                if (is_int($key)) {
                    $result[$value] = $this->_get($value, $default);
                } else {
                    $result[$key] = $this->_get($key, $value);
                }
            }
            return $result;
        }
        return $this->_get($name, $default);
    }
1004851
public function get($name, $default = false)
    {
        $this->readTimes++;

        $name = $this->getCacheKey($name);

        $sql = 'SELECT value FROM ' . $this->options['table'] . ' WHERE var=\'' . $name . '\' AND (expire=0 OR expire >' . time() . ') LIMIT 1';

        $result = sqlite_query($this->handler, $sql);

        if (sqlite_num_rows($result)) {
            $content = sqlite_fetch_single($result);
            if (function_exists('gzcompress')) {
                //启用数据压缩
                $content = gzuncompress($content);
            }

            return $this->unserialize($content);
        }

        return $default;
    }
389003
public function get($name, $default = null)
    {
        $result = $default;
        if (isset($this->_data[$name])) {
            $result = $this->_data[$name]->value;
        }

        return $result;
    }
1014358
public function get($name, $default = null)
    {
        if (false === $this->has($name)) {
            return $default;
        }

        return $this->vars[$name];
    }
1219056
public function getParam($name, $default = null)
    {
        if (isset($this->params[$name])) {
            return $this->params[$name];
        }

        return $default;
    }
757765
public function getValue(string $name, $default = null)
    {
        if ($this->hasValue($name)) {
            return $this->data[$name];
        }

        return $default;
    }
765145
public function get($name = null, $default = null)
    {
        if(null === $name)
        {
            return $this->get;
        }
        else
        {
            return $this->get[$name] ?? $default;
        }
    }
500647
public function getSection($name, $default = null)
    {
        return isset($this->getSections()[$name]) ? $this->getSections()[$name] : $default;
    }