@param string $key     the key
@param mixed  $default the default value if the parameter key does not exist

@return mixed
171252
public function get($key, $default = null)
    {
        if ($this->needParser()) {
            $data = parent::get($key);
            if (empty($data)) {
                $this->treatPutRequest();
                $data = Arr::get($_REQUEST, $key, $default);
            }
        } else {
            $data = parent::get($key, $default);
        }

        // Support Android Retrofit Bad Data Format
        if (Str::startsWith(request()->header('Content-Type'), 'multipart/form-data')) {
            if (is_array($data)) {
                $newData = [];
                foreach ($data as $value) {
                    if (Str::startsWith($value, 'Content')) {
                        $pos = strpos($value, "\r\n\r\n");
                        if ($pos !== false) {
                            $value = substr($value, $pos + 4);
                        }
                    }
                    $newData[] = $value;
                }
                $data = $newData;
            } else {
                if (Str::startsWith($data, 'Content')) {
                    $pos = strpos($data, "\r\n\r\n");
                    if ($pos !== false) {
                        $data = substr($data, $pos + 4);
                    }
                }
            }
        }

        return $data;
    }
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;
        }
    }
718822
public static function get($key, $default = null)
    {
        if (is_null($key)) {
            return $default;
        }

        return (isset($_GET[$key]) ? $_GET[$key] : $default);
    }
683358
public function getQueryParam(string $key, $default = null)
    {
        $getParams = $this->getQueryParams();
        $result = $default;
        if (isset($getParams[$key])) {
            $result = $getParams[$key];
        }

        return $result;
    }
114962
public function get($key, $default = NULL) {

		return array_key_exists($key, $this->data) ? $this->data[$key] : $default;

	}
999654
public function getParam($key = null, $default = null)
    {
        if (null === $key) {
            return $this->data[self::P_PARAMS];
        }

        return $this->hasParam($key) ? $this->data[self::P_PARAMS][$key] : $default;
    }
1038159
public function getValue($key, $default = null)
    {
        if (is_array($this->kwargs) && isset($this->kwargs[$key])) {
            return $this->kwargs[$key];
        }
        return $default; // @codeCoverageIgnore
    }
1359739
protected function value(string $key, $default)
    {
        $value = $this->queryRelate->getQuery()->value($key);

        $this->resetQueryRelate();

        if (empty($value)) {
            $value = $default;
        }

        return $value;
    }
466891
public function get($key, $default = false)
    {
        $this->initializeOnDemand();

        if ($this->has($key)) {
            return $this->cache[$key][ConstProviderInterface::CACHE_PARAM_VALUE];
        } else {
            return $default;
        }
    }
257107
public function getParameter($key, $default = null)
    {
        return isset($this->options[$key]) ? $this->options[$key] : $default;
    }
832468
public function getValue($key, $default = null)
    {
        $meta = $this->meta;

        if (isset($meta[$key])) {
            return $meta[$key];
        }

        return $default;
    }
1078864
private function get($key, $default = null)
    {
        if ( ! empty($this->shared[$key]))
            return $this->shared[$key];

        return $default;
    }
547678
public function get($key, $default = null)
    {
        return array_key_exists($key, $this->collection) ? $this->collection[$key] : $default;
    }
508704
private function _getConfig(string $key, $default = null)
    {
        if (isset($this->_config[$key])) {
            return $this->_config[$key];
        }

        return $default;
    }
1340099
public function get($key, $default = null)
    {
        $value = $this->{$this->adapter}->get($this->keyPrefix . $key);
        return $value ? $value : $default;
    }
535426
public function param($key, $default = null)
	{
		switch($this->paramIs($key))
		{
			case 'get'    : return $this->params_get->get($key);
			case 'post'   : return $this->params_post->get($key);
			case 'cookie' : return $this->cookies->get($key);
			case 'name'   : return $this->params_named->get($key);
		}

		return $default;
	}
436284
public function get($key, $default = null)
    {
        if (array_key_exists($key, $this->params)) {
            return $this->params[$key];
        }

        return $default;
    }