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

Commit

Permalink
Merge a079250 into 45ba4a7
Browse files Browse the repository at this point in the history
  • Loading branch information
core23 committed Dec 20, 2017
2 parents 45ba4a7 + a079250 commit b3e8c94
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 @@ -34,6 +34,9 @@ public function process(ContainerBuilder $container)
$informations = [];

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

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

Expand Down

0 comments on commit b3e8c94

Please sign in to comment.