PHP Class Symfony\Component\DependencyInjection\Compiler\PassConfig

This class has a default configuration embedded.
Author: Johannes M. Schmitt ([email protected])
显示文件 Open project: pmjones/php-framework-benchmarks Class Usage Examples

Public Methods

Method Description
__construct ( ) Constructor.
addPass ( Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface $pass, string $type = self::TYPE_BEFORE_OPTIMIZATION ) Adds a pass.
getAfterRemovingPasses ( ) : array Gets all passes for the AfterRemoving pass.
getBeforeOptimizationPasses ( ) : array Gets all passes for the BeforeOptimization pass.
getBeforeRemovingPasses ( ) : array Gets all passes for the BeforeRemoving pass.
getMergePass ( ) : array Gets all passes for the Merge pass.
getOptimizationPasses ( ) : array Gets all passes for the Optimization pass.
getPasses ( ) : array Returns all passes in order to be processed.
getRemovingPasses ( ) : array Gets all passes for the Removing pass.
setAfterRemovingPasses ( array $passes ) Sets the AfterRemoving passes.
setBeforeOptimizationPasses ( array $passes ) Sets the BeforeOptimization passes.
setBeforeRemovingPasses ( array $passes ) Sets the BeforeRemoving passes.
setMergePass ( Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface $pass ) Sets the Merge Pass.
setOptimizationPasses ( array $passes ) Sets the Optimization passes.
setRemovingPasses ( array $passes ) Sets the Removing passes.

Method Details

__construct() public method

Constructor.
public __construct ( )

addPass() public method

Adds a pass.
public addPass ( Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface $pass, string $type = self::TYPE_BEFORE_OPTIMIZATION )
$pass Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface A Compiler pass
$type string The pass type

getAfterRemovingPasses() public method

Gets all passes for the AfterRemoving pass.
public getAfterRemovingPasses ( ) : array
return array An array of passes

getBeforeOptimizationPasses() public method

Gets all passes for the BeforeOptimization pass.
public getBeforeOptimizationPasses ( ) : array
return array An array of passes

getBeforeRemovingPasses() public method

Gets all passes for the BeforeRemoving pass.
public getBeforeRemovingPasses ( ) : array
return array An array of passes

getMergePass() public method

Gets all passes for the Merge pass.
public getMergePass ( ) : array
return array An array of passes

getOptimizationPasses() public method

Gets all passes for the Optimization pass.
public getOptimizationPasses ( ) : array
return array An array of passes

getPasses() public method

Returns all passes in order to be processed.
public getPasses ( ) : array
return array An array of all passes to process

getRemovingPasses() public method

Gets all passes for the Removing pass.
public getRemovingPasses ( ) : array
return array An array of passes

setAfterRemovingPasses() public method

Sets the AfterRemoving passes.
public setAfterRemovingPasses ( array $passes )
$passes array An array of passes

setBeforeOptimizationPasses() public method

Sets the BeforeOptimization passes.
public setBeforeOptimizationPasses ( array $passes )
$passes array An array of passes

setBeforeRemovingPasses() public method

Sets the BeforeRemoving passes.
public setBeforeRemovingPasses ( array $passes )
$passes array An array of passes

setMergePass() public method

Sets the Merge Pass.
public setMergePass ( Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface $pass )
$pass Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface The merge pass

setOptimizationPasses() public method

Sets the Optimization passes.
public setOptimizationPasses ( array $passes )
$passes array An array of passes

setRemovingPasses() public method

Sets the Removing passes.
public setRemovingPasses ( array $passes )
$passes array An array of passes