-
Notifications
You must be signed in to change notification settings - Fork 121
/
services.yaml
165 lines (127 loc) · 5.01 KB
/
services.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
# Services are classes providing functionality needed in multiple places.
#
# See https://symfony.com/doc/3.4/service_container.html
#
# Public services can be accessed from the CommandBase->getService() method.
# Private services are only used by other services, via dependency injection.
services:
_defaults:
# Services are public by default.
public: true
# Auto-wiring is disabled for simplicity (at least because the @input
# and @output services will be overridden).
autowire: false
# Auto-configuring is not necessary.
autoconfigure: false
activity_loader:
class: '\Platformsh\Cli\Service\ActivityLoader'
arguments: ['@output']
activity_monitor:
class: '\Platformsh\Cli\Service\ActivityMonitor'
arguments: ['@output', '@config', '@api']
api:
class: '\Platformsh\Cli\Service\Api'
arguments: ['@config', '@cache', '@output', '@token_config', '@file_lock']
app_finder:
class: '\Platformsh\Cli\Local\ApplicationFinder'
arguments: ['@config']
cache:
class: '\Doctrine\Common\Cache\CacheProvider'
factory: 'cache_factory:createCacheProvider'
arguments: ['@config']
cache_factory:
class: '\Platformsh\Cli\Service\CacheFactory'
public: false
certifier:
class: '\Platformsh\Cli\SshCert\Certifier'
arguments: ['@api', '@config', '@shell', '@fs', '@output', '@file_lock']
config:
class: '\Platformsh\Cli\Service\Config'
curl_cli:
class: '\Platformsh\Cli\Service\CurlCli'
arguments: ['@api']
drush:
class: '\Platformsh\Cli\Service\Drush'
arguments: ['@config', '@shell', '@local.project', '@api', '@app_finder']
file_lock:
class: '\Platformsh\Cli\Service\FileLock'
arguments: ['@config']
fs:
class: '\Platformsh\Cli\Service\Filesystem'
arguments: ['@shell']
git:
class: '\Platformsh\Cli\Service\Git'
arguments: ['@shell', '@ssh']
git_data_api:
class: '\Platformsh\Cli\Service\GitDataApi'
arguments: ['@api', '@cache']
identifier:
class: '\Platformsh\Cli\Service\Identifier'
arguments: ['@config', '@api', '@output', '@cache']
# This is a placeholder that will be overridden in the command invocation.
input:
class: '\Symfony\Component\Console\Input\ArrayInput'
public: false
arguments: [[]]
local.build:
class: '\Platformsh\Cli\Local\LocalBuild'
arguments: ['@config', '@output', '@shell', '@fs', '@git', '@local.dependency_installer', '@app_finder']
local.dependency_installer:
class: '\Platformsh\Cli\Local\DependencyInstaller'
arguments: ['@output', '@shell']
public: false
local.project:
class: '\Platformsh\Cli\Local\LocalProject'
arguments: ['@config', '@git']
mount:
class: '\Platformsh\Cli\Service\Mount'
# This is a placeholder that will be overridden in the command invocation.
output:
class: '\Symfony\Component\Console\Output\ConsoleOutput'
public: false
property_formatter:
class: '\Platformsh\Cli\Service\PropertyFormatter'
arguments: ['@input']
question_helper:
class: '\Platformsh\Cli\Service\QuestionHelper'
arguments: ['@input', '@output']
remote_env_vars:
class: '\Platformsh\Cli\Service\RemoteEnvVars'
arguments: ['@ssh', '@cache', '@config']
public: false
relationships:
class: '\Platformsh\Cli\Service\Relationships'
arguments: ['@remote_env_vars']
rsync:
class: '\Platformsh\Cli\Service\Rsync'
arguments: ['@shell', '@ssh', '@ssh_diagnostics']
self_updater:
class: '\Platformsh\Cli\Service\SelfUpdater'
arguments: ['@input', '@output', '@config', '@question_helper']
shell:
class: '\Platformsh\Cli\Service\Shell'
arguments: ['@output']
ssh:
class: '\Platformsh\Cli\Service\Ssh'
arguments: ['@input', '@output', '@config', '@certifier', '@ssh_config', '@ssh_key']
ssh_config:
class: '\Platformsh\Cli\Service\SshConfig'
arguments: ['@config', '@fs', '@output', '@ssh_key', '@certifier']
ssh_diagnostics:
class: '\Platformsh\Cli\Service\SshDiagnostics'
arguments: ['@ssh', '@output', '@certifier', '@ssh_key', '@api', '@config']
ssh_key:
class: '\Platformsh\Cli\Service\SshKey'
arguments: ['@config', '@api', '@output']
state:
class: '\Platformsh\Cli\Service\State'
arguments: ['@config']
table:
class: '\Platformsh\Cli\Service\Table'
arguments: ['@input', '@output']
token_config:
class: '\Platformsh\Cli\Service\TokenConfig'
arguments: ['@config']
url:
class: '\Platformsh\Cli\Service\Url'
arguments: ['@shell', '@input', '@output']