Get all values or a single one from an input type.

@param  string $source
@param  string $key
@param  mixed  $default
@return mixed
3402
protected function input( $source, $key = '', $default = null ) {
		$source = isset( $this->{$source} ) && is_array( $this->{$source} ) ? $this->{$source} : [];

		if ( empty( $key ) ) {
			return $source;
		}

		return Arr::get( $source, $key, $default );
	}
996455
public function data(string $key, $default = null)
    {
        if (is_null($this->data)) {
            return $default;
        }

        return data_get($this->data, $key, $default);
    }
724222
public function value($key, $default = null)
    {
        return array_key_exists($key, $this->values)
            ? $this->values[$key]
            : $default;
    }
937668
public function get($key, $default = null)
    {
        $key = strtolower($key);

        if (!array_key_exists($key, $this->data)) {
            if (null === $default) {
                return null;
            }

            return $default;
        }

        return $this->data[$key];
    }
52800
public static function get($key, $default=null) {
		if( !isset(static::$main) ) {
			return $default;
		}
		return isset(static::$main->$key) ? static::$main->$key : $default;
	}
329139
public function input( $key = null, $default = null ) {
		return data_get(
			$this->get_input_source()->all() + $this->query->all(), $key, $default
		);
	}
316384
public function get($key, $default = NULL)
    {
        return ($this->has($key)) ? $this->getIn($key, $this->all()) : $default;
    }
886702
private static function from($type, $key, $default, &$source = null) {

    	if(null === $source) {

	    	if(static :: isMethod($type)) {

	    		$source = [];
	    		static :: parseRawHttpRequest($source);
	    	}
    	}

    	static :: $method = ['method' => $type, 'data' => &$source];

    	if(null !== $key) {
    		return static :: get($key, $default);
    	}

    	return $source;
    }
273751
public function Get($Key = NULL, $Default = NULL) {
      if ($Key === NULL)
         return $this->GetRequestArguments (self::INPUT_GET);
      else
         return $this->GetValueFrom(self::INPUT_GET, $Key, $Default);
   }
114962
public function get($key, $default = NULL) {

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

	}
283014
public function input($key = null, $default = null)
    {
        $input = $this->getInputSource();

        return $this->inputSift($input, $key, $default);
    }
559183
public static function get($data, $key, $default = null)
    {
        if (self::isArrayAccess($data)) {
            return self::getArray($data, $key, $default);
        }
        if (is_object($data)) {
            return self::getObj($data, $key, $default);
        }

        return $default;
    }
544880
public function get($key, $default = null)
    {
        $this->checkKey($key);
        if ($this->noCache()) {
            return $default;
        }
        $value = $this->getRedis()->get($this->filterKey($key));
        return $value === false ? $default : $value;
    }
1203398
public function get($key, $default = null)
    {
        $value  = $this->raw($key, $default);
        $escape = $this->escape;
        return $escape($value);
    }
1102350
public function input(string $key = null, $default = null)
    {
        $inputs = $this->getQueryParams() + $this->getParsedBody();
        if (is_null($key)) {
            return $inputs;
        }
        return $inputs[$key] ?? $default;
    }
585778
public function input($key, $default = false)
    {
        return $this->getRequestInputByType()->has($key) ?
            $this->getRequestInputByType()->get($key) : $default;
    }
729942
public function get($key, $default = null)
    {
        return array_key_exists($key, $this->producers) ? $this->producers[$key] : $default;
    }