X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FImportBundle%2FResources%2Fconfig%2Fservices.yml;h=e0942b1ae1573eb453eec4fa33d6a6f166da32ed;hb=e008c037f53324b931f027483f9f1053171109c5;hp=dc53680802815be3b93dd04a9bab59bafbe38fd3;hpb=79b9e49d9464e9a67f6ee66fbf6f6c541b1a29f4;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/ImportBundle/Resources/config/services.yml b/src/Wallabag/ImportBundle/Resources/config/services.yml index dc536808..e0942b1a 100644 --- a/src/Wallabag/ImportBundle/Resources/config/services.yml +++ b/src/Wallabag/ImportBundle/Resources/config/services.yml @@ -32,3 +32,12 @@ services: - [ setLogger, [ "@logger" ]] tags: - { name: wallabag_import.import, alias: wallabag_v1 } + + wallabag_import.wallabag_v2.import: + class: Wallabag\ImportBundle\Import\WallabagV2Import + arguments: + - "@doctrine.orm.entity_manager" + calls: + - [ setLogger, [ "@logger" ]] + tags: + - { name: wallabag_import.import, alias: wallabag_v2 }