Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Compiler.php

function Compiler::addPass

File

vendor/symfony/dependency-injection/Compiler/Compiler.php, line 44

Class

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

Namespace

Symfony\Component\DependencyInjection\Compiler

Code

public function addPass(CompilerPassInterface $pass, string $type = PassConfig::TYPE_BEFORE_OPTIMIZATION, int $priority = 0) : void {
    $this->passConfig
        ->addPass($pass, $type, $priority);
}
RSS feed
Powered by Drupal