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 38
__construct(ContainerBuilder|null $builder = null)
No description
at line 50
Compiler
addExtension(string|null $name, CompilerExtension $extension)
Add custom configurator extension.
at line 74
array
getExtensions(string|null $type = null)
No description
at line 82
ContainerBuilder
getContainerBuilder()
No description
at line 88
Compiler
setClassName(string $className)
No description
at line 98
Compiler
addConfig(array $config)
Adds new configuration.
at line 112
Compiler
loadConfig(string $file, Loader|null $loader = null)
Adds new configuration from file.
at line 130
array
getConfig()
deprecated
deprecated
Returns configuration.
at line 139
Compiler
setDynamicParameterNames(array $names)
Sets the names of dynamic parameters.
at line 151
Compiler
addDependencies(array $deps)
Adds dependencies to the list.
at line 161
array
exportDependencies()
Exports dependencies.
at line 167
Compiler
addExportedTag(string $tag)
No description
at line 178
Compiler
addExportedType(string $type)
No description
at line 189
string
compile()
No description
at line 198
void
processExtensions()
internal |
No description
at line 284
string
generateCode()
internal |
No description
at line 302
void
loadDefinitionsFromConfig(array $configList)
Loads list of service definitions from configuration.
at line 311
protected PhpGenerator
createPhpGenerator()
No description