| Methods |
public
|
get(string $name): array|bool|string|int|float|UnitEnum|null
Gets a service container parameter.
Gets a service container parameter.
Overrides
|
#
|
public
|
getEnvPlaceholderUniquePrefix(): string
Gets the common env placeholder prefix for env vars created by this bag.
Gets the common env placeholder prefix for env vars created by this bag.
|
#
|
public
|
getEnvPlaceholders(): string[][]
Returns the map of env vars used in the resolved parameter values to their placeholders.
Returns the map of env vars used in the resolved parameter values to their placeholders.
Returns
A map of env var names to their placeholders
Overriden by
|
#
|
public
|
getUnusedEnvPlaceholders(): array
|
#
|
public
|
clearUnusedEnvPlaceholders(): void
|
#
|
public
|
mergeEnvPlaceholders(self $bag): void
Merges the env placeholders of another EnvPlaceholderParameterBag.
Merges the env placeholders of another EnvPlaceholderParameterBag.
|
#
|
public
|
setProvidedTypes(array $providedTypes): void
Maps env prefixes to their corresponding PHP types.
Maps env prefixes to their corresponding PHP types.
|
#
|
public
|
getProvidedTypes(): string[][]
Gets the PHP types corresponding to env() parameter prefixes.
Gets the PHP types corresponding to env() parameter prefixes.
|
#
|
public
|
resolve(): void
Replaces parameter placeholders (%name%) by their values for all parameters.
Replaces parameter placeholders (%name%) by their values for all parameters.
Overrides
|
#
|