@param      $name
@param null $default

@return mixed|null
504835
public function getRequest($name, $default = null)
    {
        if (isset($this->queryParams[$name])) {
            return $this->queryParams[$name];
        }

        if (isset($this->bodyParams[$name])) {
            return $this->bodyParams[$name];
        }

        return $default;
    }
1014358
public function get($name, $default = null)
    {
        if (false === $this->has($name)) {
            return $default;
        }

        return $this->vars[$name];
    }
563425
public function header($name, $default = null)
    {
        $header = $this->headers[strtolower($name)] ?? null;

        return $header ? $header->value() : $default;
    }
795354
protected static function getOption($name, $default = null)
    {
        return isset(self::$options[$name]) ? self::$options[$name] : $default;
    }
1007363
public function get($name, $default = null)
    {
        return $this->helper()->arr()->get($this->asArray(), $name, $default);
    }
1256634
public function getValue($name, $default = null)
    {
        return isset($this->data[$name]) ? $this->data[$name] : $default;
    }
9353
public function get($name, $default = null)
    {
        if (is_array($name)) {
            $result = [];

            foreach ($name as $key => $value) {
                if (is_int($key)) {
                    $result[$value] = $this->_get($value, $default);
                } else {
                    $result[$key] = $this->_get($key, $value);
                }
            }
            return $result;
        }
        return $this->_get($name, $default);
    }
1133384
public function get($name, $default = null)
        {
            if (Arrays::exists($name, $this->data)) {
                return $this->data[$name];
            }

            return $default;
        }
567945
public function get($name = null, $default = null)
    {
        $context = $this->_context;

        if (!$context->started) {
            $this->_start();
        }

        if ($name === null) {
            return $context->_SESSION;
        } elseif (isset($context->_SESSION[$name])) {
            return $context->_SESSION[$name];
        } else {
            return $default;
        }
    }
803077
public function get(string $name, $default = null)
    {
        return isset($this->options[$name]) ? $this->options[$name] : $default;
    }
757765
public function getValue(string $name, $default = null)
    {
        if ($this->hasValue($name)) {
            return $this->data[$name];
        }

        return $default;
    }
1288963
public function transform( $name = null, $default = null )
	{
		if( $name === null ) {
			return $this->_params;
		}

		$parts = explode( '/', trim( $name, '/' ) );
		$param = $this->_params;

		foreach( $parts as $part )
		{
			if( isset( $param[$part] ) ) {
				$param = $param[$part];
			} else {
				return $default;
			}
		}

		return $param;
	}
375020
public function get( $name, $default = null )
	{
		if( array_key_exists( $name, $this->_data ) !== false ) {
			return $this->_data[$name];
		}

		return $default;
	}
1190898
public function get($name, $default = null)
    {
        if (isset($this->container[$name])) {
            return $this->container[$name];
        }

        return $default;
    }
348558
public function getDefault($name)
    {
        return isset($this->defaults[$name]) ? $this->defaults[$name] : null;
    }
1006920
public function get(string $name, $default = null)
    {
        return $this->has($name) ? $this->values[$name] : $default;
    }
326885
public function get($name, $default = null)
    {
        if (isset($this->body[$name])) {
            return $this->body[$name];
        }

        return $default;
    }