diff options
Diffstat (limited to 'src/Wallabag/ImportBundle/Resources')
-rw-r--r-- | src/Wallabag/ImportBundle/Resources/config/services.yml | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/src/Wallabag/ImportBundle/Resources/config/services.yml b/src/Wallabag/ImportBundle/Resources/config/services.yml index fe388b26..cad44e71 100644 --- a/src/Wallabag/ImportBundle/Resources/config/services.yml +++ b/src/Wallabag/ImportBundle/Resources/config/services.yml | |||
@@ -1,11 +1,32 @@ | |||
1 | services: | 1 | services: |
2 | wallabag_import.consumer.pocket: | 2 | wallabag_import.consumer.pocket: |
3 | class: Wallabag\ImportBundle\Consumer\AMPQ\PocketConsumer | 3 | class: Wallabag\ImportBundle\Consumer\AMPQ\EntryConsumer |
4 | arguments: | 4 | arguments: |
5 | - "@doctrine.orm.entity_manager" | 5 | - "@doctrine.orm.entity_manager" |
6 | - "@wallabag_user.user_repository" | 6 | - "@wallabag_user.user_repository" |
7 | - "@wallabag_import.pocket.import" | 7 | - "@wallabag_import.pocket.import" |
8 | - "@logger" | 8 | - "@logger" |
9 | wallabag_import.consumer.readability: | ||
10 | class: Wallabag\ImportBundle\Consumer\AMPQ\EntryConsumer | ||
11 | arguments: | ||
12 | - "@doctrine.orm.entity_manager" | ||
13 | - "@wallabag_user.user_repository" | ||
14 | - "@wallabag_import.readability.import" | ||
15 | - "@logger" | ||
16 | wallabag_import.consumer.wallabag_v1: | ||
17 | class: Wallabag\ImportBundle\Consumer\AMPQ\EntryConsumer | ||
18 | arguments: | ||
19 | - "@doctrine.orm.entity_manager" | ||
20 | - "@wallabag_user.user_repository" | ||
21 | - "@wallabag_import.wallabag_v1.import" | ||
22 | - "@logger" | ||
23 | wallabag_import.consumer.wallabag_v2: | ||
24 | class: Wallabag\ImportBundle\Consumer\AMPQ\EntryConsumer | ||
25 | arguments: | ||
26 | - "@doctrine.orm.entity_manager" | ||
27 | - "@wallabag_user.user_repository" | ||
28 | - "@wallabag_import.wallabag_v2.import" | ||
29 | - "@logger" | ||
9 | 30 | ||
10 | wallabag_import.chain: | 31 | wallabag_import.chain: |
11 | class: Wallabag\ImportBundle\Import\ImportChain | 32 | class: Wallabag\ImportBundle\Import\ImportChain |