Skip to content

Commit 3d782d6

Browse files
committed
Removed reistry
1 parent 64e6799 commit 3d782d6

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

DependencyInjection/GraphAwareNeo4jExtension.php

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,9 @@ public function load(array $configs, ContainerBuilder $container)
2828
$loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
2929
$loader->load('services.xml');
3030

31-
$connectionServiceIds = $this->handleConnections($config, $container);
31+
$this->handleConnections($config, $container);
3232
$clientServiceIds = $this->handleClients($config, $container);
33-
$entityManagerIds = $this->handleEntityMangers($config, $container, $clientServiceIds);
34-
35-
$container->getDefinition('neo4j.manager_registry')
36-
->replaceArgument(1, $connectionServiceIds)
37-
->replaceArgument(2, $entityManagerIds);
33+
$this->handleEntityMangers($config, $container, $clientServiceIds);
3834

3935
// add aliases for the default services
4036
$container->setAlias('neo4j.connection', 'neo4j.connection.default');

0 commit comments

Comments
 (0)