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 : mixed
- $serviceReferenceGraph : mixed
Methods
- __construct() : mixed
- addPass() : mixed
- compile() : mixed
- Run the Compiler and process all Passes.
- getLog() : array<string|int, mixed>
- getPassConfig() : PassConfig
- getServiceReferenceGraph() : ServiceReferenceGraph
- log() : mixed
Properties
$log
private
array<string|int, mixed>
$log
= []
$passConfig
private
mixed
$passConfig
$serviceReferenceGraph
private
mixed
$serviceReferenceGraph
Methods
__construct()
public
__construct() : mixed
addPass()
public
addPass(CompilerPassInterface $pass[, string $type = PassConfig::TYPE_BEFORE_OPTIMIZATION ][, int $priority = 0 ]) : mixed
Parameters
- $pass : CompilerPassInterface
- $type : string = PassConfig::TYPE_BEFORE_OPTIMIZATION
- $priority : int = 0
compile()
Run the Compiler and process all Passes.
public
compile(ContainerBuilder $container) : mixed
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) : mixed
Parameters
- $pass : CompilerPassInterface
- $message : string