Compiler
class Compiler
DI container compiler.
Constants
private SERVICES |
|
private PARAMETERS |
|
private DI |
|
Methods
No description
No description
No description
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 $builder = null)
No description
at line 63
Compiler
addExtension(string|null $name, CompilerExtension $extension)
Add custom configurator extension.
at line 85
array
getExtensions(string $type = null)
No description
at line 93
ContainerBuilder
getContainerBuilder()
No description
at line 100
Compiler
setClassName(string $className)
No description
at line 111
Compiler
addConfig(array $config)
Adds new configuration.
at line 125
Compiler
loadConfig(string $file, Loader $loader = null)
Adds new configuration from file.
at line 142
array
getConfig()
deprecated
deprecated
Returns configuration.
at line 152
Compiler
setDynamicParameterNames(array $names)
Sets the names of dynamic parameters.
at line 165
Compiler
addDependencies(array $deps)
Adds dependencies to the list.
at line 175
array
exportDependencies()
Exports dependencies.
at line 182
Compiler
addExportedTag(string $tag)
No description
at line 193
Compiler
addExportedType(string $type)
No description
at line 203
string
compile()
No description
at line 212
void
processExtensions()
internal |
No description
at line 297
string
generateCode()
internal |
No description
at line 315
void
loadDefinitionsFromConfig(array $configList)
Loads list of service definitions from configuration.
at line 323
protected PhpGenerator
createPhpGenerator()
No description
at line 330
static void
loadDefinitions()
deprecated
deprecated
No description
at line 337
static void
loadDefinition()
deprecated
deprecated
No description
Traits
Strict class for better experience.