Compiler
class Compiler
DI container compiler.
Constants
private SERVICES |
|
private PARAMETERS |
|
private DI |
|
Methods
No description
No description
No description
No description
Adds new configuration from file.
Sets the names of dynamic parameters.
Adds dependencies to the list.
Exports dependencies.
No description
No description
No description
No description
No description
Loads list of service definitions from configuration.
No description
Details
at line 40
__construct(ContainerBuilder|null $builder = null)
No description
at line 52
Compiler
addExtension(string|null $name, CompilerExtension $extension)
Add custom configurator extension.
at line 76
array
getExtensions(string|null $type = null)
No description
at line 84
ContainerBuilder
getContainerBuilder()
No description
at line 90
Compiler
setClassName(string $className)
No description
at line 100
Compiler
addConfig(array $config)
Adds new configuration.
at line 114
Compiler
loadConfig(string $file, Loader|null $loader = null)
Adds new configuration from file.
at line 132
array
getConfig()
deprecated
deprecated
Returns configuration.
at line 141
Compiler
setDynamicParameterNames(array $names)
Sets the names of dynamic parameters.
at line 153
Compiler
addDependencies(array $deps)
Adds dependencies to the list.
at line 163
array
exportDependencies()
Exports dependencies.
at line 169
Compiler
addExportedTag(string $tag)
No description
at line 180
Compiler
addExportedType(string $type)
No description
at line 191
string
compile()
No description
at line 200
void
processExtensions()
internal |
No description
at line 286
string
generateCode()
internal |
No description
at line 304
void
loadDefinitionsFromConfig(array $configList)
Loads list of service definitions from configuration.
at line 312
protected PhpGenerator
createPhpGenerator()
No description
Traits
Strict class for better experience.