apigee_mock_api_client.services.yml in Apigee Edge 8
tests/modules/apigee_mock_api_client/apigee_mock_api_client.services.yml
File
tests/modules/apigee_mock_api_client/apigee_mock_api_client.services.ymlView source
- services:
- apigee_mock_api_client.static_mock_storage:
- class: Apigee\MockClient\SimpleMockStorage
-
- apigee_mock_api_client.db_mock_storage:
- class: Drupal\apigee_mock_api_client\DatabaseMockStorage
- arguments: ['@queue.database', '@state']
-
- apigee_mock_api_client.mock_http_handler_stack:
- class: Drupal\apigee_mock_api_client\MockHandlerStack
- arguments: ['@apigee_mock_api_client.db_mock_storage', '@apigee_mock_api_client.response_factory', '@apigee_mock_api_client_twig']
-
- apigee_mock_api_client.response_factory:
- class: Apigee\MockClient\ResponseFactory
- tags:
- - { name: service_collector, tag: apigee_mock_api_client.generator, call: addGenerator, required: TRUE }
-
- apigee_mock_api_client.twig_generator:
- class: Apigee\MockClient\Generator\TwigGenerator
- arguments: ['@apigee_mock_api_client_twig']
- tags:
- - { name: apigee_mock_api_client.generator }
-
- apigee_mock_api_client.sdk_entity_generator:
- class: Apigee\MockClient\Generator\ApigeeSdkEntityGenerator
- tags:
- - { name: apigee_mock_api_client.generator }
-
- apigee_mock_api_client.mock_http_client_factory:
- class: Drupal\apigee_mock_api_client\MockHttpClientFactory
- arguments: ['@http_handler_stack', '@apigee_mock_api_client.mock_http_handler_stack', '@state']
-
- apigee_mock_api_client_twig:
- class: \Twig_Environment
- arguments: ['@apigee_mock_api_client_twig_json.loader']
-
- apigee_mock_api_client_twig_json.loader:
- class: \Twig_Loader_Chain
- public: false
- tags:
- - { name: service_collector, tag: apigee_mock_api_client_twig.loader, call: addLoader, required: TRUE }
-
- ## Adds `apigee_mock_api_client/response-templates` to the template search path ##
- apigee_mock_api_client_twig_json.loader.filesystem:
- class: Drupal\apigee_mock_api_client\TwigExtension\ResponseTemplateLoader
- arguments: ['@module_handler']
- tags:
- - { name: apigee_mock_api_client_twig.loader, priority: 100 }
Services
Name | Description |
---|---|
apigee_mock_api_client.db_mock_storage | Drupal\apigee_mock_api_client\DatabaseMockStorage |
apigee_mock_api_client.mock_http_client_factory | Drupal\apigee_mock_api_client\MockHttpClientFactory |
apigee_mock_api_client.mock_http_handler_stack | Drupal\apigee_mock_api_client\MockHandlerStack |
apigee_mock_api_client.response_factory | Apigee\MockClient\ResponseFactory |
apigee_mock_api_client.sdk_entity_generator | Apigee\MockClient\Generator\ApigeeSdkEntityGenerator |
apigee_mock_api_client.static_mock_storage | Apigee\MockClient\SimpleMockStorage |
apigee_mock_api_client.twig_generator | Apigee\MockClient\Generator\TwigGenerator |
apigee_mock_api_client_twig | \Twig_Environment |
apigee_mock_api_client_twig_json.loader | \Twig_Loader_Chain |
apigee_mock_api_client_twig_json.loader.filesystem | Drupal\apigee_mock_api_client\TwigExtension\ResponseTemplateLoader |