Retrieve an input item from the request.

@param  string  $key
@param  string|array|null  $default
@return string|array
175925
public function input($key = null, $default = null)
    {
        $input = array_merge($this->getInputSource()->all(),$this->query->all());
        return isset($input[$key])?$input[$key]:$default;
    }
1005232
public function get($key = null, $default = null)
	{
		if ( is_null($key) )
		{
			return $this->get;
		}

		return Arr::get($this->get, $key, $default);
	}
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);
   }
296045
public function get($key, $default = null)
    {
        $value = parent::get($key, $default);
        if (is_array($value)) {
            $value = array_shift($value);
        }
        return $value;
    }
1286686
public function get($key, $default = null)
    {
        $this->checkLoaded();

        return Arr::get($this->data, $key, $default);
    }
17762
public function get($key, $default = null)
    {
        if ($this->offsetExists($key)) {
            return is_array($this->items[$key]) ? new static($this->items[$key]) : $this->items[$key];
        }

        return value($default);
    }
1285567
public function request( $key = null, $default = null ) {
		return func_num_args() === 0 ? $_REQUEST : $this->app->utility->array_get( $_REQUEST, $key, $default );
	}
658329
protected function get($key, $default = null)
    {
        $val = dot_access($this->configuration, $key);
        return $val !== null ? $val : $default;
    }
320793
public function getInputValue($key = null, $default = null)
    {
        $input = $this->getInputSource()->all() + $this->query->all();

        return ArrayHelper::get($input, $key, $default);
    }
437725
public function get($key, $default = null)
	{
		if(array_key_exists($key, $this->items))
		{
			return $this->items[$key];
		}

		return $default;
	}
68814
public function get($key = null, $default = null)
    {
        if (!func_num_args()) {
            return $this->collection->all();
        }

        return $this->fetchFromArray($key, $default);
    }
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 );
	}
547678
public function get($key, $default = null)
    {
        return array_key_exists($key, $this->collection) ? $this->collection[$key] : $default;
    }
764575
public function input($key = null, $default = null)
    {
        if ($key === null) {
            return $this->input;
        }

        return array_key_exists($key, $this->input) ? $this->input[$key] : $default;
    }
963739
public function post($key = NULL, $default = NULL)
    {
        if ( !$key ) {
            return $this->request->all();
        }

        $path = '';
        $key  = explode('.', $key);
        foreach ($key as $item) {
            if ( !$path ) {
                $path .= $item;
                continue;
            }
            $path .= '[' . $item . ']';
        }

        return $this->request->get($path, $default, TRUE);
    }
197821
public function get($key, $default = null)
    {
        if (array_key_exists($key, $this->context)) {
            return $this->context[$key];
        }

        return $default;
    }
707458
public function input($key = null, $default = null)
    {
        if ($key !== null) {
            return isset($this->input[$key]) ? $this->input[$key] : $default;
        }

        return $this->input;
    }