EnvPlaceholderParameterBag
class EnvPlaceholderParameterBag extends ParameterBag
Properties
protected | $parameters | from ParameterBag | |
protected | $resolved | from ParameterBag |
Methods
Gets a service container parameter.
Replaces parameter placeholders (%name%) by their values for all parameters.
Replaces parameter placeholders (%name%) by their values.
Resolves parameters inside a string.
Gets the common env placeholder prefix for env vars created by this bag.
Returns the map of env vars used in the resolved parameter values to their placeholders.
No description
No description
Merges the env placeholders of another EnvPlaceholderParameterBag.
Maps env prefixes to their corresponding PHP types.
Gets the PHP types corresponding to env() parameter prefixes.
Details
resolveValue(mixed $value, array $resolving = array())
Replaces parameter placeholders (%name%) by their values.
string
resolveString(string $value, array $resolving = array())
Resolves parameters inside a string.
string
getEnvPlaceholderUniquePrefix()
Gets the common env placeholder prefix for env vars created by this bag.
string[][]
getEnvPlaceholders()
Returns the map of env vars used in the resolved parameter values to their placeholders.
mergeEnvPlaceholders(EnvPlaceholderParameterBag $bag)
Merges the env placeholders of another EnvPlaceholderParameterBag.