Compiler
in package
This class is used to remove circular dependencies between individual passes.
Tags
Table of Contents
Properties
- $log : array<string|int, mixed>
- $passConfig : PassConfig
- $serviceReferenceGraph : ServiceReferenceGraph
Methods
- __construct() : mixed
- addPass() : void
- compile() : void
- Run the Compiler and process all Passes.
- getLog() : array<string|int, mixed>
- getPassConfig() : PassConfig
- getServiceReferenceGraph() : ServiceReferenceGraph
- log() : void
Properties
$log
private
array<string|int, mixed>
$log
= []
$passConfig
private
PassConfig
$passConfig
$serviceReferenceGraph
private
ServiceReferenceGraph
$serviceReferenceGraph
Methods
__construct()
public
__construct() : mixed
addPass()
public
addPass(CompilerPassInterface $pass[, string $type = PassConfig::TYPE_BEFORE_OPTIMIZATION ][, int $priority = 0 ]) : void
Parameters
- $pass : CompilerPassInterface
- $type : string = PassConfig::TYPE_BEFORE_OPTIMIZATION
- $priority : int = 0
compile()
Run the Compiler and process all Passes.
public
compile(ContainerBuilder $container) : void
Parameters
- $container : ContainerBuilder
getLog()
public
getLog() : array<string|int, mixed>
Return values
array<string|int, mixed>getPassConfig()
public
getPassConfig() : PassConfig
Return values
PassConfiggetServiceReferenceGraph()
public
getServiceReferenceGraph() : ServiceReferenceGraph
Return values
ServiceReferenceGraphlog()
public
log(CompilerPassInterface $pass, string $message) : void
Parameters
- $pass : CompilerPassInterface
- $message : string