Get request value for key from the previous request.

@param  string $key
@param  mixed  $default
@return mixed
189023
public function get( $key, $default = null ) {
		return Arr::get( $this->flash->get( $this->flash_key, [] ), $key, $default );
	}
1278076
public function get($key, $default = null)
    {
        list($baseKey, $searchKey) = $this->fetchKey($key);

        $value = $this->fetchValue($baseKey, $searchKey);

        return (! is_null($value)) ? $value : $default;
    }
227407
public function get($key, $default = null)
	{
		$this->load();

		return ArrayUtil::get($this->data, $key, $default);
	}
863141
public function get($key, $default = null)
		{
			if (Arrays::exists($key, $this->attributes)) {
				return $this->attributes[$key];
			}

			return value($default);
		}
401762
public function get($key, $default = null)
    {
        $value = $this->fetch($key);

        if(!is_null($value))
            return $value;
        else if($default != null)
            return $default;
        else if($this->config['fallback'])
            return Config::get($key, null);
        else
            return $default;
    }
901183
public function get($key, $default = null)
    {
        if (isset($this->parameters[$key])) {
            return $this->parameters[$key];
        }

        $data = $this->parameters;

        foreach (explode('.', $key) as $pkey) {
            if (!array_key_exists($pkey, $data) || !is_array($data)) {
                return $default;
            }

            $data = $data[$pkey];
        }

        return $data;

        $this->has($key) ? $this->parameters[$key] : $default;
    }
81139
public function get( $key, $default = NULL )
    {
        if ( $this->offsetExists( $key ) )
        {
            return $this->items[ $key ];
        }

        return Util::value( $default );
    }
559520
function get( $key, $default = false ) {
			return array_key_exists( $key, $this->_data ) ?
				$this->_data[ $key ] :
				$default;
		}
938362
public function getRequestData($key = null, $default = null)
    {
        if (!is_null($key)) {
            if (isset($this->requestData[$key])) {
                return $this->requestData[$key];
            } else {
                return $default;
            }
        } else {
            return $this->requestData;
        }
    }
921072
public function get($key, $default = null)
    {
        $resource = $this->getAll();

        $keys = explode('.', $key);
        foreach ($keys as $key) {
            if (!isset($resource[$key])) {
                $resource = $default;
                break;
            }
            $resource = &$resource[$key];
        }

        return $resource;
    }
142333
public function get($key, $default = null)
    {
        if ($this->hasAccessibleMethod($key)) {
            return $this->$key();
        }

        if ($this->hasAccessibleProperty($key)) {
            return $this->$key;
        }

        return $default;
    }
1250709
public function getOne($key, $default = null)
    {
        $ret = $default;
        $all = $this->get($key);
        if (count($all) > 0) {
            $ret = array_shift($all);
        }

        return $ret;
    }
1370321
function get($key, $default = null)
	{
		return $_GET[$key] ?? $this->params[$key] ?? $_POST[$key] ?? $_REQUEST[$key] ?? $default;
	//	return $post && isset($_POST[$name]) ? $_POST[$name] : ($get && isset($_GET[$name]) ? $_GET[$name] : $default);
	}
1349250
public function getParam($key, $default = null)
        {
            $key = (string) $key;
            if (isset($this->_params[$key])) {
                return $this->_params[$key];
            }

            return $default;
        }
122714
public function get($key, $default = null)
    {
        if ($this->offsetExists($key))
        {
            return $this->offsetGet($key);
        }

        return value($default);
    }
584859
public function get(string $key, $default = null)
    {
        if (array_key_exists($key, $this->input)) {
            return $this->input[$key];
        } elseif (array_key_exists($key, $this->cache)) {
            return $this->cache[$key];
        }

        // No dot, then not nested keys. We already tried that key and were not lucky.
        if (false === strpos($key, '.')) {
            return $this->default($default);
        }

        try {
            $return = $this->find($this->input, $key);
        } catch (\Exception $e) {
            $return = $this->default($default);
        }
        return $return;
    }
1113007
public function retrieve($key, $default = '')
    {
        $retriever = $this->getService('retriever');
        if($retriever->has($key)){
            return $retriever->get($key);
        }
        return $default;
    }