Improve phpdocs of service
This commit is contained in:
parent
6c43ee8fd1
commit
69abbcaf4b
@ -33,10 +33,10 @@ class ParameterService
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $name
|
||||
* @param bool $parse
|
||||
* @param string $name The name of the parameter in the format <group>_<parameter>
|
||||
* @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 <group>_<parameter>
|
||||
* @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);
|
||||
|
Loading…
Reference in New Issue
Block a user