Skip to content

Commit 56c13b7

Browse files
committed
set profile listener alias
1 parent cd52b3a commit 56c13b7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/DependencyInjection/Neo4jExtension.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ public function load(array $configs, ContainerBuilder $container): ContainerBuil
5858
->addTag('data_collector')
5959
);
6060

61+
$container->setAlias(Neo4jProfileListener::class, 'neo4j.subscriber');
62+
6163
$container->setDefinition('neo4j.subscriber', (new Definition(Neo4jProfileListener::class))
6264
->setArgument(0, $enabledProfiles)
6365
->addTag('kernel.event_subscriber')

0 commit comments

Comments
 (0)