We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a72c227 commit dd24721Copy full SHA for dd24721
src/DoctrineServiceProvider.php
@@ -161,6 +161,11 @@ protected function registerManagerRegistry()
161
162
$this->app->alias('registry', ManagerRegistry::class);
163
$this->app->alias('registry', IlluminateRegistry::class);
164
+
165
+ // This namespace has been deprecated in doctrine/persistence and we have
166
+ // stopped referring to it. Alias is necessary to let other use it until
167
+ // its removed.
168
+ $this->app->alias('registry', \Doctrine\Common\Persistence\ManagerRegistry::class);
169
}
170
171
/**
0 commit comments