From: Kévin Gomez Date: Wed, 11 Nov 2015 15:44:57 +0000 (+0100) Subject: Fix the creation of the repository services X-Git-Tag: 2.0.0-alpha.1~11^2~8 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=b7b20054947676ab0d4c89c3c4a64db4e52db203;p=github%2Fwallabag%2Fwallabag.git Fix the creation of the repository services --- diff --git a/src/Wallabag/CoreBundle/Resources/config/services.yml b/src/Wallabag/CoreBundle/Resources/config/services.yml index cef4450d..03d33560 100644 --- a/src/Wallabag/CoreBundle/Resources/config/services.yml +++ b/src/Wallabag/CoreBundle/Resources/config/services.yml @@ -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