Compiler
class Compiler
This class is used to remove circular dependencies between individual passes.
Methods
__construct()
No description
getPassConfig()
Returns the PassConfig.
getServiceReferenceGraph()
Returns the ServiceReferenceGraph.
addPass(CompilerPassInterface $pass, string $type = PassConfig::TYPE_BEFORE_OPTIMIZATION, int $priority = 0)
Adds a pass to the PassConfig.
array
getLog()
Returns the log.
Details
addPass(CompilerPassInterface $pass, string $type = PassConfig::TYPE_BEFORE_OPTIMIZATION, int $priority = 0)
Adds a pass to the PassConfig.