diff options
Diffstat (limited to 'src/Wallabag/ImportBundle/Resources/config/services.yml')
-rw-r--r-- | src/Wallabag/ImportBundle/Resources/config/services.yml | 33 |
1 files changed, 4 insertions, 29 deletions
diff --git a/src/Wallabag/ImportBundle/Resources/config/services.yml b/src/Wallabag/ImportBundle/Resources/config/services.yml index cad44e71..f03404ae 100644 --- a/src/Wallabag/ImportBundle/Resources/config/services.yml +++ b/src/Wallabag/ImportBundle/Resources/config/services.yml | |||
@@ -1,33 +1,8 @@ | |||
1 | services: | 1 | imports: |
2 | wallabag_import.consumer.pocket: | 2 | - { resource: rabbit.yml } |
3 | class: Wallabag\ImportBundle\Consumer\AMPQ\EntryConsumer | 3 | - { resource: redis.yml } |
4 | arguments: | ||
5 | - "@doctrine.orm.entity_manager" | ||
6 | - "@wallabag_user.user_repository" | ||
7 | - "@wallabag_import.pocket.import" | ||
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" | ||
30 | 4 | ||
5 | services: | ||
31 | wallabag_import.chain: | 6 | wallabag_import.chain: |
32 | class: Wallabag\ImportBundle\Import\ImportChain | 7 | class: Wallabag\ImportBundle\Import\ImportChain |
33 | 8 | ||