class Compiler
This class is used to remove circular dependencies between individual passes.
Methods
|
__construct()
Constructor. |
||
| PassConfig |
getPassConfig()
Returns the PassConfig. |
|
| ServiceReferenceGraph |
getServiceReferenceGraph()
Returns the ServiceReferenceGraph. |
|
| LoggingFormatter |
getLoggingFormatter()
Returns the logging formatter which can be used by compilation passes. |
|
|
addPass(CompilerPassInterface $pass, string $type = PassConfig::TYPE_BEFORE_OPTIMIZATION)
Adds a pass to the PassConfig. |
||
|
addLogMessage(string $string)
Adds a log message. |
||
| array |
getLog()
Returns the log. |
|
|
compile(ContainerBuilder $container)
Run the Compiler and process all Passes. |
Details
at line 34
public
__construct()
Constructor.
at line 49
public PassConfig
getPassConfig()
Returns the PassConfig.
at line 61
public ServiceReferenceGraph
getServiceReferenceGraph()
Returns the ServiceReferenceGraph.
at line 71
public LoggingFormatter
getLoggingFormatter()
Returns the logging formatter which can be used by compilation passes.
at line 84
public
addPass(CompilerPassInterface $pass, string $type = PassConfig::TYPE_BEFORE_OPTIMIZATION)
Adds a pass to the PassConfig.
at line 94
public
addLogMessage(string $string)
Adds a log message.
at line 104
public array
getLog()
Returns the log.
at line 116
public
compile(ContainerBuilder $container)
Run the Compiler and process all Passes.