RegisterEnvVarProcessorsPass
in package
implements
CompilerPassInterface
Creates the container.env_var_processors_locator service.
Tags
Table of Contents
Interfaces
- CompilerPassInterface
- Interface that must be implemented by compilation passes.
Constants
- ALLOWED_TYPES = ['array', 'bool', 'float', 'int', 'string', \BackedEnum::class]
Methods
- process() : void
- You can modify the container here before it is dumped to PHP code.
- validateProvidedTypes() : array<string|int, mixed>
Constants
ALLOWED_TYPES
private
mixed
ALLOWED_TYPES
= ['array', 'bool', 'float', 'int', 'string', \BackedEnum::class]
Methods
process()
You can modify the container here before it is dumped to PHP code.
public
process(ContainerBuilder $container) : void
Parameters
- $container : ContainerBuilder
validateProvidedTypes()
private
static validateProvidedTypes(string $types, string $class) : array<string|int, mixed>
Parameters
- $types : string
- $class : string