public function ContainerBuilder::getCompilerPassConfig

Returns the compiler pass config which can then be modified.

@api

Return value

PassConfig The compiler pass config

File

drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerBuilder.php, line 326

Class

ContainerBuilder
ContainerBuilder is a DI container that provides an API to easily describe services.

Namespace

Symfony\Component\DependencyInjection

Code

public function getCompilerPassConfig() {
  if (null === $this->compiler) {
    $this->compiler = new Compiler();
  }
  return $this->compiler
    ->getPassConfig();
}