forked from Trip09/wp-console
-
Notifications
You must be signed in to change notification settings - Fork 0
/
services.yml
37 lines (37 loc) · 1.27 KB
/
services.yml
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
services:
# WordpressConsoleCore Services
console.root:
class: SplString
console.chain:
class: WP\Console\Core\Command\Chain\ChainCommand
arguments: ['@console.chain_queue', '@console.chain_discovery']
tags:
- { name: wordpress.command }
console.debug_chain:
class: WP\Console\Core\Command\Debug\ChainCommand
arguments: ['@console.chain_discovery']
tags:
- { name: wordpress.command }
console.exec:
class: WP\Console\Core\Command\Exec\ExecCommand
arguments: ['@console.shell_process']
tags:
- { name: wordpress.command }
console.wordpress_api:
class: WP\Console\Utils\WordpressApi
arguments: ['@app.root', '@console.site', '@http_client']
console.remote:
class: WP\Console\Core\Utils\Remote
arguments: ['@console.translator_manager']
console.shell_process:
class: WP\Console\Core\Utils\ShellProcess
arguments: ['@app.root', '@console.translator_manager']
console.validator:
class: WP\Console\Utils\Validator
arguments: ['@console.extension_manager']
console.create_user_data:
class: WP\Console\Utils\Create\UserData
arguments: ['@console.site']
console.create_role_data:
class: WP\Console\Utils\Create\RoleData
arguments: ['@console.site', '@console.wordpress_api']