3 namespace Drush\Symfony;
5 use Symfony\Component\DependencyInjection\ContainerBuilder;
6 use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
7 use Symfony\Component\DependencyInjection\Reference;
9 class BootstrapCompilerPass implements CompilerPassInterface
11 public function process(ContainerBuilder $container)
13 if (!$container->has('bootstrap.manager')) {
17 $definition = $container->findDefinition(
21 $taggedServices = $container->findTaggedServiceIds(
24 foreach ($taggedServices as $id => $tags) {
25 $definition->addMethodCall(