ContainerBuilder
addCompilerPass(CompilerPassInterface $pass, string $type = PassConfig::TYPE_BEFORE_OPTIMIZATION)
Adds a compiler pass.
Parameters CompilerPassInterface $pass A compiler pass string $type The type of compiler pass Return Value ContainerBuilder The current instance