ParameterBagInterface
interface ParameterBagInterface
ParameterBagInterface is the interface implemented by objects that manage service container parameters.
Methods
clear()
Clears all parameters.
add(array $parameters)
Adds parameters to the service container parameters.
array
all()
Gets the service container parameters.
mixed
get(string $name)
Gets a service container parameter.
remove(string $name)
Removes a parameter.
set(string $name, mixed $value)
Sets a service container parameter.
bool
has(string $name)
Returns true if a parameter name is defined.
resolve()
Replaces parameter placeholders (%name%) by their values for all parameters.
resolveValue(mixed $value)
Replaces parameter placeholders (%name%) by their values.
mixed
escapeValue(mixed $value)
Escape parameter placeholders %.
mixed
unescapeValue(mixed $value)
Unescape parameter placeholders %.