|
1 | 1 | services: |
2 | | - php_translator.console.delete_obsolete: |
3 | | - class: Translation\Bundle\Command\DeleteObsoleteCommand |
| 2 | + Translation\Bundle\Command\DeleteObsoleteCommand: |
4 | 3 | public: true |
5 | 4 | arguments: |
6 | | - - '@php_translation.storage_manager' |
7 | | - - '@php_translation.configuration_manager' |
8 | | - - '@php_translation.catalogue_manager' |
9 | | - - '@php_translation.catalogue_fetcher' |
| 5 | + - '@Translation\Bundle\Service\StorageManager' |
| 6 | + - '@Translation\Bundle\Service\ConfigurationManager' |
| 7 | + - '@Translation\Bundle\Catalogue\CatalogueManager' |
| 8 | + - '@Translation\Bundle\Catalogue\CatalogueFetcher' |
10 | 9 | tags: |
11 | 10 | - { name: console.command, command: translation:delete-obsolete} |
12 | 11 |
|
13 | | - php_translator.console.download: |
14 | | - class: Translation\Bundle\Command\DownloadCommand |
| 12 | + Translation\Bundle\Command\DownloadCommand: |
15 | 13 | public: true |
16 | 14 | arguments: |
17 | | - - '@php_translation.storage_manager' |
18 | | - - '@php_translation.configuration_manager' |
19 | | - - '@php_translation.cache_clearer' |
| 15 | + - '@Translation\Bundle\Service\StorageManager' |
| 16 | + - '@Translation\Bundle\Service\ConfigurationManager' |
| 17 | + - '@Translation\Bundle\Service\CacheClearer' |
20 | 18 | tags: |
21 | 19 | - { name: console.command, command: translation:download } |
22 | 20 |
|
23 | | - php_translator.console.extract: |
24 | | - class: Translation\Bundle\Command\ExtractCommand |
| 21 | + Translation\Bundle\Command\ExtractCommand: |
25 | 22 | public: true |
26 | 23 | arguments: |
27 | | - - '@php_translation.catalogue_fetcher' |
28 | | - - '@php_translation.catalogue_writer' |
29 | | - - '@php_translation.catalogue_counter' |
30 | | - - '@php_translation.importer' |
31 | | - - '@php_translation.configuration_manager' |
| 24 | + - '@Translation\Bundle\Catalogue\CatalogueFetcher' |
| 25 | + - '@Translation\Bundle\Catalogue\CatalogueWriter' |
| 26 | + - '@Translation\Bundle\Catalogue\CatalogueCounter' |
| 27 | + - '@Translation\Bundle\Service\Importer' |
| 28 | + - '@Translation\Bundle\Service\ConfigurationManager' |
32 | 29 | tags: |
33 | 30 | - { name: console.command, command: translation:extract } |
34 | 31 |
|
35 | | - php_translator.console.status: |
36 | | - class: Translation\Bundle\Command\StatusCommand |
| 32 | + Translation\Bundle\Command\StatusCommand: |
37 | 33 | public: true |
38 | 34 | arguments: |
39 | | - - '@php_translation.catalogue_counter' |
40 | | - - '@php_translation.configuration_manager' |
41 | | - - '@php_translation.catalogue_fetcher' |
| 35 | + - '@Translation\Bundle\Catalogue\CatalogueCounter' |
| 36 | + - '@Translation\Bundle\Service\ConfigurationManager' |
| 37 | + - '@Translation\Bundle\Catalogue\CatalogueFetcher' |
42 | 38 | tags: |
43 | 39 | - { name: console.command, command: translation:status } |
44 | 40 |
|
45 | | - php_translator.console.sync: |
46 | | - class: Translation\Bundle\Command\SyncCommand |
| 41 | + Translation\Bundle\Command\SyncCommand: |
47 | 42 | public: true |
48 | 43 | arguments: |
49 | | - - '@php_translation.storage_manager' |
| 44 | + - '@Translation\Bundle\Service\StorageManager' |
50 | 45 | tags: |
51 | 46 | - { name: console.command, command: translation:sync } |
| 47 | + |
| 48 | + # To remove in next major release |
| 49 | + php_translator.console.delete_obsolete: |
| 50 | + parent: Translation\Bundle\Command\DeleteObsoleteCommand |
| 51 | + deprecated: 'The "%service_id%" service is deprecated. You should stop using it, as it will be removed in the future.' |
| 52 | + php_translator.console.download: |
| 53 | + parent: Translation\Bundle\Command\DownloadCommand |
| 54 | + deprecated: 'The "%service_id%" service is deprecated. You should stop using it, as it will be removed in the future.' |
| 55 | + php_translator.console.extract: |
| 56 | + parent: Translation\Bundle\Command\ExtractCommand |
| 57 | + deprecated: 'The "%service_id%" service is deprecated. You should stop using it, as it will be removed in the future.' |
| 58 | + php_translator.console.status: |
| 59 | + parent: Translation\Bundle\Command\StatusCommand |
| 60 | + deprecated: 'The "%service_id%" service is deprecated. You should stop using it, as it will be removed in the future.' |
| 61 | + php_translator.console.sync: |
| 62 | + parent: Translation\Bundle\Command\SyncCommand |
| 63 | + deprecated: 'The "%service_id%" service is deprecated. You should stop using it, as it will be removed in the future.' |
0 commit comments