]>
Commit | Line | Data |
---|---|---|
ff7b031d | 1 | services: |
56c778b4 NL |
2 | wallabag_import.consumer.entry: |
3 | class: Wallabag\ImportBundle\Component\AMPQ\EntryConsumer | |
4 | arguments: | |
5 | - "@doctrine.orm.entity_manager" | |
6 | - "@wallabag_core.entry_repository" | |
7 | - "@wallabag_core.content_proxy" | |
8 | ||
7019c7cf JB |
9 | wallabag_import.chain: |
10 | class: Wallabag\ImportBundle\Import\ImportChain | |
11 | ||
7ec2897e JB |
12 | wallabag_import.pocket.client: |
13 | class: GuzzleHttp\Client | |
14 | arguments: | |
15 | - | |
16 | defaults: | |
17 | headers: | |
18 | content-type: "application/json" | |
19 | X-Accept: "application/json" | |
252ebd60 JB |
20 | |
21 | wallabag_import.pocket.import: | |
22 | class: Wallabag\ImportBundle\Import\PocketImport | |
23 | arguments: | |
24 | - "@security.token_storage" | |
25 | - "@doctrine.orm.entity_manager" | |
26 | - "@wallabag_core.content_proxy" | |
63e40f2d | 27 | - "@craue_config" |
56c778b4 | 28 | - "@old_sound_rabbit_mq.wallabag_producer" |
252ebd60 JB |
29 | calls: |
30 | - [ setClient, [ "@wallabag_import.pocket.client" ] ] | |
31 | - [ setLogger, [ "@logger" ]] | |
7019c7cf JB |
32 | tags: |
33 | - { name: wallabag_import.import, alias: pocket } | |
b1d05721 JB |
34 | |
35 | wallabag_import.wallabag_v1.import: | |
36 | class: Wallabag\ImportBundle\Import\WallabagV1Import | |
37 | arguments: | |
38 | - "@doctrine.orm.entity_manager" | |
0783c99a | 39 | - "@wallabag_core.content_proxy" |
b1d05721 JB |
40 | calls: |
41 | - [ setLogger, [ "@logger" ]] | |
7019c7cf JB |
42 | tags: |
43 | - { name: wallabag_import.import, alias: wallabag_v1 } | |
6785f4aa NL |
44 | |
45 | wallabag_import.wallabag_v2.import: | |
46 | class: Wallabag\ImportBundle\Import\WallabagV2Import | |
47 | arguments: | |
48 | - "@doctrine.orm.entity_manager" | |
0783c99a | 49 | - "@wallabag_core.content_proxy" |
6785f4aa NL |
50 | calls: |
51 | - [ setLogger, [ "@logger" ]] | |
52 | tags: | |
53 | - { name: wallabag_import.import, alias: wallabag_v2 } | |
03e3753f JB |
54 | |
55 | wallabag_import.readability.import: | |
56 | class: Wallabag\ImportBundle\Import\ReadabilityImport | |
57 | arguments: | |
58 | - "@doctrine.orm.entity_manager" | |
59 | - "@wallabag_core.content_proxy" | |
60 | calls: | |
61 | - [ setLogger, [ "@logger" ]] | |
62 | tags: | |
63 | - { name: wallabag_import.import, alias: readability } |