Symfony\Component\DependencyInjection\Compiler\Compiler
This class is used to remove circular dependencies between individual passes.
- Author: Johannes M. Schmitt <schmittjoh@gmail.com>
Synopsis
class Compiler
{
- // members
- private $passConfig;
- private $log;
- private $loggingFormatter;
- private $serviceReferenceGraph;
- // methods
- public void __construct()
- public PassConfig getPassConfig()
- public ServiceReferenceGraph getServiceReferenceGraph()
- public LoggingFormatter getLoggingFormatter()
- public void addPass()
- public void addLogMessage()
- public array getLog()
- public void compile()
Members
private
- $log
- $loggingFormatter
- $passConfig
- $serviceReferenceGraph
Methods
public
- __construct() — Constructor.
- addLogMessage() — Adds a log message.
- addPass() — Adds a pass to the PassConfig.
- compile() — Run the Compiler and process all Passes.
- getLog() — Returns the log.
- getLoggingFormatter() — Returns the logging formatter which can be used by compilation passes.
- getPassConfig() — Returns the PassConfig.
- getServiceReferenceGraph() — Returns the ServiceReferenceGraph.