Compiler
class Compiler extends Object
DI container compiler.
Properties
CompilerExtension[] read-only | $extensions | ||
ContainerBuilder read-only | $containerBuilder | ||
array read-only | $config |
Methods
array
getExtensions($type = NULL)
No description
getContainerBuilder()
No description
array
getConfig()
Returns configuration.
string
compile(array $config, $className, $parentName)
No description
processParameters()
No description
processExtensions()
No description
processServices()
No description
generateCode($className, $parentName)
No description
static void
parseServices(ContainerBuilder $builder, array $config, $namespace = NULL)
Parses section 'services' from (unexpanded) configuration file.
static void
static array
filterArguments(array $args)
Removes ... and replaces entities with Statement.
Details
at line 38
__construct(ContainerBuilder $builder = NULL)
No description
at line 48
Compiler
addExtension($name, CompilerExtension $extension)
Add custom configurator extension.
at line 61
array
getExtensions($type = NULL)
No description
at line 72
ContainerBuilder
getContainerBuilder()
No description
at line 82
array
getConfig()
Returns configuration.
at line 91
string
compile(array $config, $className, $parentName)
No description
at line 101
processParameters()
No description
at line 109
processExtensions()
No description
at line 126
processServices()
No description
at line 138
generateCode($className, $parentName)
No description
at line 162
static void
parseServices(ContainerBuilder $builder, array $config, $namespace = NULL)
Parses section 'services' from (unexpanded) configuration file.
at line 239
static void
parseService(ServiceDefinition $definition, $config)
Parses single service from configuration file.
at line 355
static array
filterArguments(array $args)
Removes ... and replaces entities with Statement.