Skip to content

Commit d26f847

Browse files
author
Thibaud Fabre
committed
Change pass config
1 parent 627d054 commit d26f847

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/LazyCommandBundle.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace Alchemy\LazyCommandBundle;
44

55
use Alchemy\LazyCommandBundle\DependencyInjection\Compiler\LazyCommandCompilerPass;
6+
use Symfony\Component\DependencyInjection\Compiler\PassConfig;
67
use Symfony\Component\DependencyInjection\ContainerBuilder;
78
use Symfony\Component\HttpKernel\Bundle\Bundle;
89

@@ -12,6 +13,6 @@ public function build(ContainerBuilder $container)
1213
{
1314
parent::build($container);
1415

15-
$container->addCompilerPass(new LazyCommandCompilerPass());
16+
$container->addCompilerPass(new LazyCommandCompilerPass(), PassConfig::TYPE_AFTER_REMOVING);
1617
}
1718
}

0 commit comments

Comments
 (0)