public function getValue($name)
	{
		if (!$this->hasValue($name))
		{
			throw new UnknownConfigValueException($name);
		}

		$itemData = $this->configData->{$name};

		if (isset($itemData->value))
		{
			return $itemData->value;
		}

		if (isset($itemData->defaultValue))
		{
			return $itemData->defaultValue;
		}

		throw new UnsetConfigValueException($name);
	}
public function getValue($name)
	{
		if (!$this->hasValue($name))
		{
			throw new UnknownConfigValueException($name);
		}

		$itemData = $this->configData->{$name};

		if (isset($itemData->value))
		{
			return $itemData->value;
		}

		if (isset($itemData->defaultValue))
		{
			return $itemData->defaultValue;
		}

		throw new UnsetConfigValueException($name);
	}
public function getValue ( $ name ) { if ( ! $ this -> hasValue ( $ name ) ) { throw new UnknownConfigValueException ( $ name ) ; } $ itemData = $ this -> configData -> { $ name } ; if ( isset ( $ itemData -> value ) ) { return $ itemData -> value ; } if ( isset ( $ itemData -> defaultValue ) ) { return $ itemData -> defaultValue ; } throw new UnsetConfigValueException ( $ name ) ; }
Get the value of the given configuration path.

@param string $name The dotted path to the configuration value (e.g. "path.to.the.value")

@return mixed The value of the configuration value. This can be anything JSON supports (e.g. boolean, integer, string, array or map).

@throws UnknownConfigValueException If the configuration value is not defined in the template
@throws UnsetConfigValueException If the configuration value is not set in the configuration file and no default value has been specified
Get the value of the given configuration path .