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 50
__construct(ContainerBuilder|null $builder = null)
No description
at line 63
Compiler
addExtension(string|null $name, CompilerExtension $extension)
Add custom configurator extension.
at line 87
array
getExtensions(string|null $type = null)
No description
at line 95
ContainerBuilder
getContainerBuilder()
No description
at line 102
Compiler
setClassName(string $className)
No description
at line 113
Compiler
addConfig(array $config)
Adds new configuration.
at line 128
Compiler
loadConfig(string $file, Loader|null $loader = null)
Adds new configuration from file.
at line 146
array
getConfig()
deprecated
deprecated
Returns configuration.
at line 156
Compiler
setDynamicParameterNames(array $names)
Sets the names of dynamic parameters.
at line 169
Compiler
addDependencies(array $deps)
Adds dependencies to the list.
at line 179
array
exportDependencies()
Exports dependencies.
at line 186
Compiler
addExportedTag(string $tag)
No description
at line 198
Compiler
addExportedType(string $type)
No description
at line 209
string
compile()
No description
at line 218
void
processExtensions()
internal |
No description
at line 305
string
generateCode()
internal |
No description
at line 323
void
loadDefinitionsFromConfig(array $configList)
Loads list of service definitions from configuration.
at line 331
protected PhpGenerator
createPhpGenerator()
No description
at line 338
static void
loadDefinitions()
deprecated
deprecated
No description
at line 345
static void
loadDefinition()
deprecated
deprecated
No description
Traits
Strict class for better experience.