summaryrefslogtreecommitdiffstats
path: root/subrequests.services.yml
blob: 1c6bd7da0e740b0b6be84e8f9ea2c4045fe4ec79 (plain)
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
services:
  subrequests.blueprint_manager:
    class: Drupal\subrequests\Blueprint\BlueprintManager
    arguments: ['@serializer']
  logger.channel.subrequests:
    parent: logger.channel_base
    arguments: ['subrequests']
  subrequests.json_path_replacer:
    class: Drupal\subrequests\JsonPathReplacer
  subrequests.subrequests_manager:
    class: Drupal\subrequests\SubrequestsManager
    arguments: ['@http_kernel', '@serializer', '@subrequests.json_path_replacer']
  subrequests.denormalizer.blueprint.json:
    class: Drupal\subrequests\Normalizer\JsonBlueprintDenormalizer
    arguments: ['@logger.channel.subrequests']
    tags:
      - { name: normalizer, priority: 0 }
  subrequests.denormalizer.subrequest.json:
    class: Drupal\subrequests\Normalizer\JsonSubrequestDenormalizer
    tags:
      - { name: normalizer, priority: 0 }
  subrequests.normalizer.multiresponse:
    class: Drupal\subrequests\Normalizer\MultiresponseNormalizer
    tags:
      - { name: normalizer, priority: 0 }
  subrequests.normalizer.multiresponse_json:
    class: Drupal\subrequests\Normalizer\MultiresponseJsonNormalizer
    tags:
      - { name: normalizer, priority: 0 }