- author Nicolas Grekas
CloneableInstantiable
Methods |
public clearUnusedEnvPlaceholders() |
public get(string $name) : UnitEnum|array|string|int|float|bool|?null |
public getEnvPlaceholders() : array Returns the map of env vars used in the resolved parameter values to their placeholders.
|
public getEnvPlaceholderUniquePrefix() : string Gets the common env placeholder prefix for env vars created by this bag. |
public getProvidedTypes() : array Gets the PHP types corresponding to env() parameter prefixes. |
public getUnusedEnvPlaceholders() : array |
public mergeEnvPlaceholders(self $bag) Merges the env placeholders of another EnvPlaceholderParameterBag. |
public resolve() |
public setProvidedTypes(array $providedTypes) Maps env prefixes to their corresponding PHP types. |
Properties |
Properties |
private static int $counter |
private array $envPlaceholders |
private string $envPlaceholderUniquePrefix |
private array $providedTypes |
private array $unusedEnvPlaceholders |
Properties |
private static int $counter |