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