Documentation

Compiler
in package

This class is used to remove circular dependencies between individual passes.

Tags
author

Johannes M. Schmitt schmittjoh@gmail.com

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 = []

$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

getLog()

public getLog() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results