interface ContainerBagInterface implements ContainerInterface

Methods

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 %.

Details

at line 27
array all()

Gets the service container parameters.

Return Value

array An array of parameters

at line 36
resolveValue(mixed $value)

Replaces parameter placeholders (%name%) by their values.

Parameters

mixed $value A value

Exceptions

ParameterNotFoundException if a placeholder references a parameter that does not exist

at line 45
mixed escapeValue(mixed $value)

Escape parameter placeholders %.

Parameters

mixed $value

Return Value

mixed

at line 54
mixed unescapeValue(mixed $value)

Unescape parameter placeholders %.

Parameters

mixed $value

Return Value

mixed