bring chrome and firefox as separate imports

This commit is contained in:
Thomas Citharel
2016-09-21 17:47:47 +02:00
committed by Jeremy Benoist
parent f7c55b3812
commit 59201088b4
29 changed files with 1266 additions and 253 deletions

View File

@ -57,12 +57,21 @@ services:
tags:
- { name: wallabag_import.import, alias: readability }
wallabag_import.browser.import:
class: Wallabag\ImportBundle\Import\BrowserImport
wallabag_import.firefox.import:
class: Wallabag\ImportBundle\Import\FirefoxImport
arguments:
- "@doctrine.orm.entity_manager"
- "@wallabag_core.content_proxy"
calls:
- [ setLogger, [ "@logger" ]]
tags:
- { name: wallabag_import.import, alias: browser }
- { name: wallabag_import.import, alias: firefox }
wallabag_import.chrome.import:
class: Wallabag\ImportBundle\Import\ChromeImport
arguments:
- "@doctrine.orm.entity_manager"
- "@wallabag_core.content_proxy"
calls:
- [ setLogger, [ "@logger" ]]
tags:
- { name: wallabag_import.import, alias: chrome }