|
1 | 1 | services: |
2 | | - _defaults: |
3 | | - autowire: true |
4 | | - autoconfigure: true |
5 | | - public: false |
6 | | - |
7 | | - 'K911\Swoole\Bridge\Symfony\Bundle\Command\ServerStatusCommand': |
8 | | - arguments: |
9 | | - $metricsProvider: '@K911\Swoole\Metrics\MetricsProvider' |
10 | | - tags: [ { name: console.command, command: 'swoole:server:status' } ] |
11 | | - |
12 | | - 'K911\Swoole\Bridge\Symfony\Bundle\Command\ServerStopCommand': |
13 | | - tags: [ { name: console.command, command: 'swoole:server:stop' } ] |
14 | | - |
15 | | - 'K911\Swoole\Bridge\Symfony\Bundle\Command\ServerReloadCommand': |
16 | | - tags: [ { name: console.command, command: 'swoole:server:reload' } ] |
17 | | - |
18 | | - 'swoole_bundle.server.http_server.configurator.for_server_start_command': |
19 | | - class: K911\Swoole\Server\Configurator\CallableChainConfigurator |
20 | | - factory: ['@K911\Swoole\Server\Configurator\CallableChainConfiguratorFactory', 'make'] |
21 | | - arguments: |
22 | | - - '@swoole_bundle.server.http_server.configurator_collection' |
23 | | - - '@swoole_bundle.server.http_server.configurator.with_request_handler' |
24 | | - autoconfigure: false |
25 | | - |
26 | | - 'K911\Swoole\Bridge\Symfony\Bundle\Command\ServerStartCommand': |
27 | | - tags: [ { name: console.command, command: 'swoole:server:start' } ] |
28 | | - arguments: |
29 | | - $serverConfigurator: '@swoole_bundle.server.http_server.configurator.for_server_start_command' |
30 | | - |
31 | | - 'swoole_bundle.server.http_server.configurator.for_server_run_command': |
32 | | - class: K911\Swoole\Server\Configurator\CallableChainConfigurator |
33 | | - factory: ['@K911\Swoole\Server\Configurator\CallableChainConfiguratorFactory', 'make'] |
34 | | - arguments: |
35 | | - - '@swoole_bundle.server.http_server.configurator_collection' |
36 | | - - '@swoole_bundle.server.http_server.configurator.with_request_handler' |
37 | | - - '@swoole_bundle.server.http_server.configurator.with_sigint_handler' |
38 | | - autoconfigure: false |
39 | | - |
40 | | - 'K911\Swoole\Bridge\Symfony\Bundle\Command\ServerRunCommand': |
41 | | - tags: [ { name: console.command, command: 'swoole:server:run' } ] |
42 | | - arguments: |
43 | | - $serverConfigurator: '@swoole_bundle.server.http_server.configurator.for_server_run_command' |
44 | | - |
45 | | - 'swoole_bundle.server.http_server.configurator.for_server_profile_command': |
46 | | - class: K911\Swoole\Server\Configurator\CallableChainConfigurator |
47 | | - factory: ['@K911\Swoole\Server\Configurator\CallableChainConfiguratorFactory', 'make'] |
48 | | - arguments: |
49 | | - - '@swoole_bundle.server.http_server.configurator_collection' |
50 | | - - '@swoole_bundle.server.http_server.configurator.with_limited_request_handler' |
51 | | - - '@swoole_bundle.server.http_server.configurator.with_sigint_handler' |
52 | | - autoconfigure: false |
53 | | - |
54 | | - 'K911\Swoole\Bridge\Symfony\Bundle\Command\ServerProfileCommand': |
55 | | - tags: [ { name: console.command, command: 'swoole:server:profile' } ] |
56 | | - arguments: |
57 | | - $serverConfigurator: '@swoole_bundle.server.http_server.configurator.for_server_profile_command' |
| 2 | + _defaults: |
| 3 | + autowire: false |
| 4 | + autoconfigure: false |
| 5 | + public: false |
| 6 | + |
| 7 | + K911\Swoole\Bridge\Symfony\Bundle\Command\ServerStatusCommand: |
| 8 | + arguments: |
| 9 | + $sockets: '@K911\Swoole\Server\Config\Sockets' |
| 10 | + $apiServerClientFactory: '@K911\Swoole\Server\Api\ApiServerClientFactory' |
| 11 | + $metricsProvider: '@K911\Swoole\Metrics\MetricsProvider' |
| 12 | + $parameterBag: '@parameter_bag' |
| 13 | + tags: [ { name: console.command, command: 'swoole:server:status' } ] |
| 14 | + |
| 15 | + K911\Swoole\Bridge\Symfony\Bundle\Command\ServerStopCommand: |
| 16 | + arguments: |
| 17 | + $server: '@K911\Swoole\Server\HttpServer' |
| 18 | + $serverConfiguration: '@K911\Swoole\Server\HttpServerConfiguration' |
| 19 | + $parameterBag: '@parameter_bag' |
| 20 | + tags: [ { name: console.command, command: 'swoole:server:stop' } ] |
| 21 | + |
| 22 | + K911\Swoole\Bridge\Symfony\Bundle\Command\ServerReloadCommand: |
| 23 | + arguments: |
| 24 | + $server: '@K911\Swoole\Server\HttpServer' |
| 25 | + $serverConfiguration: '@K911\Swoole\Server\HttpServerConfiguration' |
| 26 | + $parameterBag: '@parameter_bag' |
| 27 | + tags: [ { name: console.command, command: 'swoole:server:reload' } ] |
| 28 | + |
| 29 | + swoole_bundle.server.http_server.configurator.for_server_start_command: |
| 30 | + class: K911\Swoole\Server\Configurator\CallableChainConfigurator |
| 31 | + factory: ['@K911\Swoole\Server\Configurator\CallableChainConfiguratorFactory', 'make'] |
| 32 | + arguments: |
| 33 | + - '@swoole_bundle.server.http_server.configurator_collection' |
| 34 | + - '@swoole_bundle.server.http_server.configurator.with_request_handler' |
| 35 | + |
| 36 | + K911\Swoole\Bridge\Symfony\Bundle\Command\ServerStartCommand: |
| 37 | + arguments: |
| 38 | + $server: '@K911\Swoole\Server\HttpServer' |
| 39 | + $serverConfiguration: '@K911\Swoole\Server\HttpServerConfiguration' |
| 40 | + $serverConfigurator: '@swoole_bundle.server.http_server.configurator.for_server_start_command' |
| 41 | + $parameterBag: '@parameter_bag' |
| 42 | + $bootManager: '@K911\Swoole\Server\Runtime\BootableInterface' |
| 43 | + tags: [ { name: console.command, command: 'swoole:server:start' } ] |
| 44 | + |
| 45 | + swoole_bundle.server.http_server.configurator.for_server_run_command: |
| 46 | + class: K911\Swoole\Server\Configurator\CallableChainConfigurator |
| 47 | + factory: ['@K911\Swoole\Server\Configurator\CallableChainConfiguratorFactory', 'make'] |
| 48 | + arguments: |
| 49 | + - '@swoole_bundle.server.http_server.configurator_collection' |
| 50 | + - '@swoole_bundle.server.http_server.configurator.with_request_handler' |
| 51 | + - '@swoole_bundle.server.http_server.configurator.default_handler' |
| 52 | + |
| 53 | + K911\Swoole\Bridge\Symfony\Bundle\Command\ServerRunCommand: |
| 54 | + arguments: |
| 55 | + $server: '@K911\Swoole\Server\HttpServer' |
| 56 | + $serverConfiguration: '@K911\Swoole\Server\HttpServerConfiguration' |
| 57 | + $serverConfigurator: '@swoole_bundle.server.http_server.configurator.for_server_run_command' |
| 58 | + $parameterBag: '@parameter_bag' |
| 59 | + $bootManager: '@K911\Swoole\Server\Runtime\BootableInterface' |
| 60 | + tags: [ { name: console.command, command: 'swoole:server:run' } ] |
| 61 | + |
| 62 | + swoole_bundle.server.http_server.configurator.for_server_profile_command: |
| 63 | + class: K911\Swoole\Server\Configurator\CallableChainConfigurator |
| 64 | + factory: ['@K911\Swoole\Server\Configurator\CallableChainConfiguratorFactory', 'make'] |
| 65 | + arguments: |
| 66 | + - '@swoole_bundle.server.http_server.configurator_collection' |
| 67 | + - '@swoole_bundle.server.http_server.configurator.with_limited_request_handler' |
| 68 | + - '@swoole_bundle.server.http_server.configurator.default_handler' |
| 69 | + |
| 70 | + K911\Swoole\Bridge\Symfony\Bundle\Command\ServerProfileCommand: |
| 71 | + arguments: |
| 72 | + $server: '@K911\Swoole\Server\HttpServer' |
| 73 | + $serverConfiguration: '@K911\Swoole\Server\HttpServerConfiguration' |
| 74 | + $serverConfigurator: '@swoole_bundle.server.http_server.configurator.for_server_profile_command' |
| 75 | + $parameterBag: '@parameter_bag' |
| 76 | + $bootManager: '@K911\Swoole\Server\Runtime\BootableInterface' |
| 77 | + tags: [ { name: console.command, command: 'swoole:server:profile' } ] |
0 commit comments