Get the value from GET for the given $key.

@param string $key   Key name.
@param null   $value Default value that will be returned if the $key is not found.

@return string Value under the defined $key.
164169
public function get($key, $value = null)
    {
        return $this->queryBag->key($key, $value, true);
    }
105136
function &get($key) {
		if (isset($this->args[$key]))
			$val=&$this->args[$key];
		else
			$val=NULL;
		return $val;
	}
816748
private function get($key, $value, $default)
    {
        if ($this->has($key)) {
            return $this->data[$key][$value];
        } else {
            return $default;
        }
    }
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;
    }
789407
public function get($key, $defaultValue = null)
    {
        if (!isset($this->keyToIndexMap[$key]) && 2 === func_num_args()) {
            return $defaultValue;
        }

        return $this->value($key);
    }
149279
public function getParamValue($key)
    {
        $value = null;
        if (is_array($param = $this->getParam($key))) {
            $value = $param['value'];
        }

        return $value;
    }
1094735
public function getValue( $key )
	{
		if( !isset( $this->_values[ $key ] ) ) {
			return null;
		}

		return $this->_values[ $key ];
	}
1294236
public static function getValue(string $key)
    {
        $key = \mb_strtolower($key);
        if(isset(self::$_data[$key])) {
            return self::$_data[$key];
        }
        return null;
    }
823078
public static function get(String $name = NULL, $value = NULL)
    {
        return self::_method($name, $value, $_GET, __FUNCTION__);
    }
806783
public static function getSetting($key, $value = null)
    {
        $data = ini_get($key);
        if ($data === false) {
            throw new \InvalidArgumentException(sprintf("Invalid PHP setting '%s'", $key));
        }

        if ($value === null) {
            return $data;
        } else {
            ini_set($key, $value);
        }
    }
56812
public function getValue($key = null)
    {
        if (is_null($key)) {//返回所有
            return $this->args;
        } elseif (isset($this->args[$key])) {
            return $this->args[$key];
        } else {
            return null;
        }
    }
858208
public function value( $value = NULL ){
		if( is_null( $value ) )
			return $this->value;
		$this->value	= $value;
	}
713835
public function getValue($key)
    {
        if (!isset($this->values[$key])) {
            return null;
        }
        return $this->values[$key];
    }
924546
public function offsetGet($key, $default = null)
    {
        return isset($this->values[$key]) ? $this->values[$key] : $default;
    }
680568
public function get($key, $default = null)
    {
        $value = $this->fetch($key);

        return (!is_null($value)) ? $value : $default;
    }
716627
public function getset($key, $value)
    {
        $this->init();
        $result = $this->driver->getset($key, $value);
        return $this->convertFalseToNull($result);
    }
830317
public static function get($key, $default = null)
    {
        $value = static::getRaw($key, $default);

        if (is_string($value)) {
            // Convert some common values into their scalar types.
            switch (strtolower($value)) {
                case 'true':
                    return true;

                case 'false':
                    return false;

                case 'null':
                    return null;
            }

            // Strip "" if the string is wrapped in them.
            if (Str::beginsWith($value, '"') && Str::endsWith($value, '"')) {
                return substr($value, 1, -1);
            }
        }

        return $value;
    }