]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Resources/config/services.yml
Fix the creation of the repository services
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Resources / config / services.yml
index cef4450d1370157e37a7862d28705cfc6e7cb385..03d335609ca740259cd323fcdc3b2204444c5868 100644 (file)
@@ -65,15 +65,13 @@ services:
 
     wallabag_core.entry_repository:
         class: Wallabag\CoreBundle\Repository\EntryRepository
-        factory_service: doctrine.orm.default_entity_manager
-        factory_method: getRepository
+        factory: [ @doctrine.orm.default_entity_manager, getRepository ]
         arguments:
             - WallabagCoreBundle:Entry
 
     wallabag_core.tag_repository:
         class: Wallabag\CoreBundle\Repository\TagRepository
-        factory_service: doctrine.orm.default_entity_manager
-        factory_method: getRepository
+        factory: [ @doctrine.orm.default_entity_manager, getRepository ]
         arguments:
             - WallabagCoreBundle:Tag