Closed franmomu closed 7 months ago
Closes #807
I've made some changes that we need to see if they are fine.
doctrine_mongodb.odm.cache
doctrine_mongodb.odm.cache.array
.class
<service id="%doctrine_mongodb.odm.document_manager.class%" alias="doctrine_mongodb.odm.document_manager" public="false" /> <service id="%doctrine_mongodb.odm.class%" alias="doctrine_mongodb" public="false" />
I'm not sure if that can be done in PHP and I've changed them to (I guess we can change them in the extension resolving the parameter, but not sure if that's necessary):
->alias(DocumentManager::class, 'doctrine_mongodb.odm.document_manager') ->alias(ManagerRegistry::class, 'doctrine_mongodb')
Thank you @franmomu
Closes #807
I've made some changes that we need to see if they are fine.
doctrine_mongodb.odm.cache
as alias ofdoctrine_mongodb.odm.cache.array
doctrine_mongodb.odm.cache.array
.class
and use the class directly in the service as second argument.I'm not sure if that can be done in PHP and I've changed them to (I guess we can change them in the extension resolving the parameter, but not sure if that's necessary):