parameters: services: _defaults: autowire: true autoconfigure: true App\: resource: '../src/' exclude: - '../src/DependencyInjection/' - '../src/Entity/' - '../src/Kernel.php' - '../src/Tests/' App\Controller\: resource: '../src/Controller/' tags: ['controller.service_arguments'] jsonrpc.weather.getByDate: class: App\Method\Weather\GetByDateMethod tags: - { name: 'json_rpc_http_server.jsonrpc_method', method: 'weather.getByDate' } jsonrpc.weather.getHistory: class: App\Method\Weather\GetHistoryMethod tags: - { name: 'json_rpc_http_server.jsonrpc_method', method: 'weather.getHistory' } mapping_aware_service: public: true class: App\Collector\MappingCollector tags: ['json_rpc_http_server.method_aware']