Skip to content

Commit 0035296

Browse files
authored
Merge pull request #1 from WakeOnWeb/fix/symfony3.4-compat
This service has to be public since it can be called lazy by bernard.
2 parents 486590e + ac730c6 commit 0035296

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/App/Bundle/DependencyInjection/WakeonwebServiceBusExtension.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ public function load(array $configs, ContainerBuilder $container)
5252
new Reference(sprintf('prooph_service_bus.%s', $options['receiver_bus']))
5353
]);
5454
$definition->addTag('bernard.receiver', ['message' => $options['queue_name']]);
55+
$definition->setPublic(true);
5556

5657
$container->setDefinition(sprintf('wakeonweb.service_bus.%s.receiver', $name), $definition);
5758
}

0 commit comments

Comments
 (0)