You are here

public function PassConfig::setOptimizationPasses in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/dependency-injection/Compiler/PassConfig.php \Symfony\Component\DependencyInjection\Compiler\PassConfig::setOptimizationPasses()

Sets the Optimization passes.

Parameters

array $passes An array of passes:

File

vendor/symfony/dependency-injection/Compiler/PassConfig.php, line 213

Class

PassConfig
Compiler Pass Configuration.

Namespace

Symfony\Component\DependencyInjection\Compiler

Code

public function setOptimizationPasses(array $passes) {
  $this->optimizationPasses = $passes;
}