Adds a compiler pass.
public addCompilerPass ( Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface $pass, string $type = PassConfig::TYPE_BEFORE_OPTIMIZATION ) : |
||
$pass | Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface | A compiler pass |
$type | string | The type of compiler pass |
return | The current instance |