CompilerExtension
abstract class CompilerExtension extends Object
Configurator compiling extension.
Properties
protected Compiler | $compiler | ||
protected string | $name | ||
array read-only | $config | ||
ContainerBuilder read-only | $containerBuilder |
Methods
Returns extension configuration.
No description
Reads configuration from file.
Prepend extension name to identifier or service name.
Processes configuration data. Intended to be overridden by descendant.
Adjusts DI container before is compiled to PHP class. Intended to be overridden by descendant.
Adjusts DI container compiled to PHP class. Intended to be overridden by descendant.
Details
at line 29
setCompiler(Compiler $compiler, $name)
No description
at line 42
array
getConfig(array $defaults = NULL)
Returns extension configuration.
at line 54
ContainerBuilder
getContainerBuilder()
No description
at line 65
array
loadFromFile($file)
Reads configuration from file.
at line 82
string
prefix($id)
Prepend extension name to identifier or service name.
at line 92
void
loadConfiguration()
Processes configuration data. Intended to be overridden by descendant.
at line 101
void
beforeCompile()
Adjusts DI container before is compiled to PHP class. Intended to be overridden by descendant.
at line 110
void
afterCompile(ClassType $class)
Adjusts DI container compiled to PHP class. Intended to be overridden by descendant.