Skip to content

Commit

Permalink
Change pass config
Browse files Browse the repository at this point in the history
  • Loading branch information
Thibaud Fabre committed Jul 27, 2015
1 parent 627d054 commit d26f847
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/LazyCommandBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace Alchemy\LazyCommandBundle;

use Alchemy\LazyCommandBundle\DependencyInjection\Compiler\LazyCommandCompilerPass;
use Symfony\Component\DependencyInjection\Compiler\PassConfig;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;

Expand All @@ -12,6 +13,6 @@ public function build(ContainerBuilder $container)
{
parent::build($container);

$container->addCompilerPass(new LazyCommandCompilerPass());
$container->addCompilerPass(new LazyCommandCompilerPass(), PassConfig::TYPE_AFTER_REMOVING);
}
}

0 comments on commit d26f847

Please sign in to comment.