Skip to content
This repository has been archived by the owner on Jul 28, 2022. It is now read-only.

Commit

Permalink
Merge 3.x into master
Browse files Browse the repository at this point in the history
  • Loading branch information
SonataCI committed Dec 22, 2017
2 parents fdef7d4 + 1b75f2a commit e6067cb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/DependencyInjection/Compiler/NotificationCompilerPass.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ public function process(ContainerBuilder $container): void
$informations = [];

foreach ($container->findTaggedServiceIds('sonata.notification.consumer') as $id => $events) {
$definition = $container->getDefinition($id);
$definition->setPublic(true);

foreach ($events as $event) {
$priority = $event['priority'] ?? 0;

Expand Down

0 comments on commit e6067cb

Please sign in to comment.