diff --git a/Service/ParameterService.php b/Service/ParameterService.php index 0c7b23b..797440d 100644 --- a/Service/ParameterService.php +++ b/Service/ParameterService.php @@ -33,10 +33,10 @@ class ParameterService } /** - * @param string $name - * @param bool $parse + * @param string $name The name of the parameter in the format _ + * @param bool $parse Whether to parse embedded %parameter%'s * - * @return string + * @return mixed */ public function get($name, $parse = true) { @@ -67,8 +67,8 @@ class ParameterService } /** - * @param $name - * @param $value + * @param string $name The name of the parameter in the format _ + * @param mixed $value */ public function set($name, $value) { @@ -103,6 +103,7 @@ class ParameterService break; } + // Add the group name in front of the parameter name $value['name'] = sprintf('%s_%s', $groupName, $value['name']); $value['type'] = $class; unset($value);