[DependencyInjection] Added missing methods in the ParameterBagInterface
The Container relies on the resolve() value which was not part of the interface.
This commit is contained in:
parent
b6c36de134
commit
1bb6b97c1c
@ -66,4 +66,18 @@ interface ParameterBagInterface
|
||||
* @return Boolean true if the parameter name is defined, false otherwise
|
||||
*/
|
||||
function has($name);
|
||||
|
||||
/**
|
||||
* Replaces parameter placeholders (%name%) by their values for all parameters.
|
||||
*/
|
||||
public function resolve();
|
||||
|
||||
/**
|
||||
* Replaces parameter placeholders (%name%) by their values.
|
||||
*
|
||||
* @param mixed $value A value
|
||||
*
|
||||
* @throws NonExistentParameterException if a placeholder references a parameter that does not exist
|
||||
*/
|
||||
public function resolveValue($value);
|
||||
}
|
||||
|
Reference in New Issue
Block a user