Skip to content

Commit

Permalink
Merge pull request #47 from bl4ckbon3/fix-register-plugin-bug
Browse files Browse the repository at this point in the history
Bug fixing register bus plugin
  • Loading branch information
UFOMelkor authored Nov 7, 2017
2 parents ed2568a + 851fa54 commit 9bb961f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/DependencyInjection/ProophServiceBusExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,7 @@ private function loadBus(string $type, string $name, array $options, ContainerBu

// Add plugin tag for plugins configured in the bus config
foreach ($options['plugins'] as $pluginServiceId) {
$container
->getDefinition($pluginServiceId)
->addTag(sprintf('prooph_service_bus.%s.plugin', $name));
$serviceBusDefinition->addMethodCall('addPlugin', [new Reference($pluginServiceId), $pluginServiceId]);
}

// Logging for each configured service bus
Expand Down

0 comments on commit 9bb961f

Please sign in to comment.