@param string $name
@param mixed  $default

@return mixed
771547
public function getInput($name = null, $default = null)
    {
        $params = $this->dispatcher->getParams();
        if (isset($params[0]) && count($params) === 1) {
            $params = ['id' => $params[0]];
        }

        if ($name === null) {
            return array_merge($this->get(), $params);
        } elseif (isset($params[$name])) {
            $value = $params[$name];
            $type = gettype($default);
            if ($type === 'string') {
                return (string)$value;
            } elseif ($type === 'integer') {
                return (int)$value;
            } elseif ($type === 'double') {
                return (float)$value;
            } elseif ($type === 'boolean') {
                return (bool)$value;
            } else {
                return $value;
            }
        } else {
            return $this->get($name, $default);
        }
    }
353813
public function get( $name, $key, $default = null ) {
		return $this->app->utility->array_get( $this->load( $name ), $key, $default );
	}
102248
public function get(string $name, $default = null)
    {
        $all = $this->all();

        if (! array_key_exists($name, $all)) {
            return $default;
        }

        return $all[$name];
    }
531546
public function get(string $name, $default = null)
    {
        if (!isset($this->configs[$name])) {
            $this->set($name, $default);
        }
        return $this->configs[$name];
    }
907218
public function get( $name, $default = null )
	{
		$name = trim( $name, '/' );

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

		if( array_key_exists( $name, $this->_cache ) ) {
			return $this->_cache[ $name ];
		}

		if( ( $return = $this->_getValueFromArray( $this->_config, explode( '/', $name ) ) ) !== null ) {
			return $return;
		}

		$return = $this->_getObject()->get( $name, null );

		if( $return === null )
		{
			$this->_negCache[ $name ] = true;
			return $default;
		}

		$this->_cache[ $name ] = $return;
		return $return;
	}
856062
public function get($name, $default = null)
    {
        $result = $default;
        if(isset($this->__options[$name]) || array_key_exists($name, $this->__options)) {
            $result = $this->__options[$name];
        }

        return $result;
    }
2149
public function get($name, $default = null)
    {
        if (array_key_exists($name, $this->aliases)) {
            return $this->aliases[$name];
        } else {
            return $default;
        }
    }
530819
public static function get($name = null, $default = null)
    {
        if (!$name) {
            return self::$config;
        } else {
            $keys = explode('.', $name);
            $ret = self::$config;
            while ($key = array_shift($keys)) {
                if (isset($ret[$key])) {
                    $ret = $ret[$key];
                } else {
                    return $default;
                }
            }

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

        return $default;
    }
1089122
public function getValue($name, $default = null)
    {
        $setting = $this->get($name);

        if ($setting) {
            return $setting->getValue();
        }

        return $default;
    }
616973
public function get( $name, $default = null )
	{
		if( ( $entry = $this->object->get( $name ) ) !== null ) {
			return $entry;
		}

		return $default;
	}
1164570
private function _get($name, $default = null)
    {
        return array_key_exists($name, $this->getData()) ? $this->getData()[$name] : $default;
    }
186377
public function getData($name, $default = null)
    {
        if (isset($this->data[$name])) {
            return $this->data[$name];
        }

        return $default;
    }
757765
public function getValue(string $name, $default = null)
    {
        if ($this->hasValue($name)) {
            return $this->data[$name];
        }

        return $default;
    }
806879
public function getParam($name, $default = null)
    {
        $params = $this->_context->params;
        return isset($params[$name]) ? $params[$name] : $default;
    }
905798
public function getAttribute($name, $default = NULL) {

		return isset($this->attributes[$name]) ? $this->attributes[$name] : $default;

	}
71187
public static function get($name = null, $default = null)
    {
        self::init();

        if (!$name) {
            return self::$config;
        } else {
            if (isset(self::$config[$name])) {
                return self::$config[$name];
            } else {
                return $default;
            }
        }
    }