diff options
Diffstat (limited to 'src/Wallabag/ImportBundle/Resources')
-rw-r--r-- | src/Wallabag/ImportBundle/Resources/config/services.yml | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/Wallabag/ImportBundle/Resources/config/services.yml b/src/Wallabag/ImportBundle/Resources/config/services.yml index b224a6a2..973c0d03 100644 --- a/src/Wallabag/ImportBundle/Resources/config/services.yml +++ b/src/Wallabag/ImportBundle/Resources/config/services.yml | |||
@@ -7,13 +7,7 @@ services: | |||
7 | class: Wallabag\ImportBundle\Import\ImportChain | 7 | class: Wallabag\ImportBundle\Import\ImportChain |
8 | 8 | ||
9 | wallabag_import.pocket.client: | 9 | wallabag_import.pocket.client: |
10 | class: GuzzleHttp\Client | 10 | alias: 'httplug.client.wallabag_import.pocket.client' |
11 | arguments: | ||
12 | - | ||
13 | defaults: | ||
14 | headers: | ||
15 | content-type: "application/json" | ||
16 | X-Accept: "application/json" | ||
17 | 11 | ||
18 | wallabag_import.pocket.import: | 12 | wallabag_import.pocket.import: |
19 | class: Wallabag\ImportBundle\Import\PocketImport | 13 | class: Wallabag\ImportBundle\Import\PocketImport |
@@ -112,3 +106,11 @@ services: | |||
112 | - [ setLogger, [ "@logger" ]] | 106 | - [ setLogger, [ "@logger" ]] |
113 | tags: | 107 | tags: |
114 | - { name: wallabag_import.import, alias: chrome } | 108 | - { name: wallabag_import.import, alias: chrome } |
109 | |||
110 | wallabag_import.command.import: | ||
111 | class: Wallabag\ImportBundle\Command\ImportCommand | ||
112 | tags: ['console.command'] | ||
113 | |||
114 | wallabag_import.command.redis_worker: | ||
115 | class: Wallabag\ImportBundle\Command\RedisWorkerCommand | ||
116 | tags: ['console.command'] | ||