+ - "@wallabag_core.graby"
+ - "@wallabag_core.rule_based_tagger"
+ - "@logger"
+
+ wallabag_core.rule_based_tagger:
+ class: Wallabag\CoreBundle\Helper\RuleBasedTagger
+ arguments:
+ - "@rulerz"
+ - "@wallabag_core.tag_repository"
+ - "@wallabag_core.entry_repository"
+
+ # repository as a service
+ wallabag_core.entry_repository:
+ class: Wallabag\CoreBundle\Repository\EntryRepository
+ factory: [ "@doctrine.orm.default_entity_manager", getRepository ]
+ arguments:
+ - WallabagCoreBundle:Entry
+
+ wallabag_core.tag_repository:
+ class: Wallabag\CoreBundle\Repository\TagRepository
+ factory: [ "@doctrine.orm.default_entity_manager", getRepository ]
+ arguments:
+ - WallabagCoreBundle:Tag