You are here

public function PassConfig::setBeforeOptimizationPasses in Service Container 7.2

Same name and namespace in other branches
  1. 7 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Compiler/PassConfig.php \Symfony\Component\DependencyInjection\Compiler\PassConfig::setBeforeOptimizationPasses()

Sets the BeforeOptimization passes.

@api

Parameters

array $passes An array of passes:

File

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Compiler/PassConfig.php, line 216

Class

PassConfig
Compiler Pass Configuration.

Namespace

Symfony\Component\DependencyInjection\Compiler

Code

public function setBeforeOptimizationPasses(array $passes) {
  $this->beforeOptimizationPasses = $passes;
}