Fix the creation of the repository services

This commit is contained in:
Kévin Gomez 2015-11-11 16:44:57 +01:00
parent 6cbbf1481a
commit b7b2005494
1 changed files with 2 additions and 4 deletions

View 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