interface ContainerBagInterface implements ContainerInterface
array | all() Gets the service container 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 %. |
Gets the service container parameters.
array | An array of parameters |
Replaces parameter placeholders (%name%) by their values.
mixed | $value | A value |
ParameterNotFoundException | if a placeholder references a parameter that does not exist |
Escape parameter placeholders %.
mixed | $value |
mixed |
Unescape parameter placeholders %.
mixed | $value |
mixed |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/DependencyInjection/ParameterBag/ContainerBagInterface.html