-
Notifications
You must be signed in to change notification settings - Fork 13
/
apigee_m10n.services.yml
executable file
·93 lines (73 loc) · 3.56 KB
/
apigee_m10n.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
services:
logger.channel.apigee_m10n:
parent: logger.channel_base
arguments: ['apigee_monetization']
apigee_m10n.monetization:
class: Drupal\apigee_m10n\Monetization
arguments: ['@apigee_edge.sdk_connector', '@apigee_m10n.sdk_controller_factory', '@messenger', '@cache.default', '@logger.channel.apigee_m10n', '@user.permissions', '@apigee_m10n.price_formatter', '@apigee_edge.controller.organization']
apigee_m10n.price_formatter.format_repository:
class: CommerceGuys\Intl\NumberFormat\NumberFormatRepository
public: false
apigee_m10n.price_formatter.currency_repository:
class: CommerceGuys\Intl\Currency\CurrencyRepository
public: false
apigee_m10n.price_formatter:
class: CommerceGuys\Intl\Formatter\CurrencyFormatter
arguments: ['@apigee_m10n.price_formatter.format_repository', '@apigee_m10n.price_formatter.currency_repository']
apigee_m10n.sdk_controller_factory:
class: Drupal\apigee_m10n\ApigeeSdkControllerFactory
arguments: ['@apigee_edge.sdk_connector']
apigee_m10n.sdk_controller_proxy.product_bundle:
class: Drupal\apigee_m10n\Entity\Storage\Controller\ProductBundleEntityControllerProxy
apigee_m10n.sdk_controller_proxy.xproduct:
class: Drupal\apigee_m10n\Entity\Storage\Controller\XProductEntityControllerProxy
apigee_m10n.sdk_controller_proxy.rate_plan:
class: Drupal\apigee_m10n\Entity\Storage\Controller\RatePlanSdkControllerProxy
apigee_m10n.sdk_controller_proxy.xrate_plan:
class: Drupal\apigee_m10n\Entity\Storage\Controller\XRatePlanSdkControllerProxy
apigee_m10n.sdk_controller_proxy.purchased_plan:
class: Drupal\apigee_m10n\Entity\Storage\Controller\DeveloperAcceptedRatePlanSdkControllerProxy
apigee_m10n.sdk_controller_proxy.purchased_product:
class: Drupal\apigee_m10n\Entity\Storage\Controller\DeveloperAcceptedRatePlanXSdkControllerProxy
apigee_m10n.validate_monetization_enabled:
class: Drupal\apigee_m10n\EventSubscriber\ValidateMonetizationEnabledSubscriber
arguments: ['@apigee_m10n.monetization', '@messenger']
tags:
- {name: event_subscriber}
apigee_m10n.format_currency_twig_extension:
class: Drupal\apigee_m10n\TwigExtension\FormatCurrencyTwigExtension
tags:
- { name: twig.extension }
paramconverter.entity.rate_plan:
class: Drupal\apigee_m10n\Entity\ParamConverter\RatePlanConverter
tags:
- { name: paramconverter }
arguments: ['@entity_type.manager', '@entity.repository']
paramconverter.entity.xrate_plan:
class: Drupal\apigee_m10n\Entity\ParamConverter\XRatePlanConverter
tags:
- { name: paramconverter }
arguments: ['@entity_type.manager', '@entity.repository']
paramconverter.entity.purchased_plan:
class: Drupal\apigee_m10n\Entity\ParamConverter\PurchasedPlanConverter
tags:
- { name: paramconverter }
arguments: ['@entity_type.manager', '@entity.repository']
paramconverter.entity.purchased_product:
class: Drupal\apigee_m10n\Entity\ParamConverter\PurchasedProductConverter
tags:
- { name: paramconverter }
arguments: ['@entity_type.manager', '@entity.repository']
apigee_m10n.route_subscriber:
class: Drupal\apigee_m10n\Routing\MonetizationRouteSubscriber
tags:
- { name: event_subscriber }
access_check.monetization_developer:
class: Drupal\apigee_m10n\Entity\Access\EntityDeveloperAccessCheck
tags:
- { name: access_check, applies_to: _entity_developer_access }
cache_context.url.developer:
class: Drupal\apigee_m10n\Cache\DeveloperCacheContext
arguments: ['@request_stack']
tags:
- { name: cache.context }