Retreives config values using the config key property as a prefix to all keys given.

@param string  $key  used after the configKey
@param mixed  $default  fallback used if not set
@return mixed
517510
public function get($key = null, $default = null)
    {
        if (is_null($key)) {
            return Config::get($this->configKey());
        }

        return Config::get($this->configKey() . '.' . $key, $default);
    }
100394
protected function _getConfigValue( $key, $default = null )
	{
		$config = $this->_item->getConfig();

		if( isset( $config[$key] ) ) {
			return $config[$key];
		}

		return $default;
	}
1169378
public function default($key, $default = null)
	{
		if($this->has($key))
			return $this->get($key);

		$this->put($key, $default);

		return $default;
	}
953987
public function config($key = null, $default = null)
    {
        return $this->factory->config($this->getBlueprint(), $key, $default);
    }
1281989
public function get($key, $default = null)
    {
        $value = $this->fetch($key);

        if ( ! is_null($value))
        {
            return $value;
        }

        if ($default != null)
        {
            return $default;
        }

        if ($this->config['fallback'])
        {
            if ( ! is_null($this->config['primary_config_file']))
            {
                $key2 = $this->config['primary_config_file'] . '.' . $key;
                if (Config::has($key2))
                {
                    return Config::get($key2);
                }
            }

            return Config::get($key, null);
        }

        return $default;
    }
389964
public function get($key = null, $default = null)
    {
        if (!isset($key)) {
            return $this->config;
        }

        if (array_key_exists($key, $this->config)) {
            return $this->config[$key];
        }

        return $default;
    }
710100
public function get($key, $default = null) {
        $key = $this->getAbsoluteConfigKey($key);

        return $this->getConfigParser()
            ->parse($this, array_get($this->config, $key, $default));
    }
308880
public function getConfigValue($keys, $default = null)
    {
        $value = $this->_config;
        foreach ((array) $keys as $key) {
            if (isset($value[$key])) {
                $value = $value[$key];
            } else {
                return $default;
            }
        }

        return $value;
    }
847358
public function getValueOrDefault($key, $default = null) {
        if (!empty($this->values[$key])) {
            return $this->values[$key];
        }
        elseif (!empty($this->defaults[$key])) {
            return $this->defaults[$key];
        }
        else {
            return $default;
        }
    }
1311156
public static function config($key = null, $default = null)
    {
        $name = array_search(get_called_class(), Admin::$extensions);

        if (is_null($key)) {
            $key = sprintf('admin.extensions.%s', strtolower($name));
        } else {
            $key = sprintf('admin.extensions.%s.%s', strtolower($name), $key);
        }

        return config($key, $default);
    }
77953
public function getConfig($key = null, $default = null)
	{
		if (is_array($key))
		{
			return \Arr::subset($this->config, $key, $default);
		}

		return \Arr::get($this->config, $key, $default);
	}
545316
public function get($key, $default = null)
    {
        $result = $this->load($key);
        return Arr::get(static::$configs[$result[0]], $result[1], $default);
    }
439949
protected function config($key = null, $default = null)
    {
        if (is_null($key)) {
            return app('tddd.config');
        }

        return ConfigFacade::get($key, $default);
    }
194269
public function getConfig($key = null, $default = null)
    {
        return $this->formHelper->getConfig($key, $default, $this->formConfig);
    }
585977
public function get($key, $default = null)
    {
        list($section, $name) = explode('.', $key, 2);

        return Arr::get($this->getConfig($section), $name, $default);
    }
278116
public static function get($key, $default = null)
    {
        return isset(self::$variables[$key]) ? self::$variables[$key] : $default;
    }
413436
final protected function getStringValue(string $key, string $default = ''): string
    {
        $value = $this->getConfigValue($key);
        if (!$value) {
            return $default;
        }

        return strval($value);
    }