-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathservices.yaml
61 lines (47 loc) · 1.99 KB
/
services.yaml
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
services:
_defaults:
public: false
autowire: true
OxidEsales\Eshop\Core\Registry:
class: OxidEsales\Eshop\Core\Registry
OxidEsales\Eshop\Core\Config:
factory: [ '@OxidEsales\Eshop\Core\Registry', 'getConfig' ]
public: true
OxidEsales\Eshop\Core\Session:
factory: [ '@OxidEsales\Eshop\Core\Registry', 'getSession' ]
OxidEsales\Eshop\Core\Language:
factory: [ '@OxidEsales\Eshop\Core\Registry', 'getLang' ]
OxidEsales\Eshop\Core\UtilsDate:
factory: [ '@OxidEsales\Eshop\Core\Registry', 'getUtilsDate' ]
OxidEsales\Eshop\Core\Request:
factory: [ '@OxidEsales\Eshop\Core\Registry', 'getRequest' ]
OxidSolutionCatalysts\Adyen\Core\Response:
public: true
OxidSolutionCatalysts\Adyen\Logger:
class: Monolog\Logger
factory: ['@OxidSolutionCatalysts\Adyen\Logger\Factory', 'create']
public: true
OxidSolutionCatalysts\Adyen\Logger\Factory:
class: OxidEsales\EshopCommunity\Internal\Framework\Logger\Factory\MonologLoggerFactory
public: true
arguments:
$configuration: '@OxidSolutionCatalysts\Adyen\Logger\Configuration'
OxidSolutionCatalysts\Adyen\Logger\Configuration:
class: OxidEsales\EshopCommunity\Internal\Framework\Logger\Configuration\MonologConfiguration
public: true
arguments:
$loggerName: 'Adyen Payment Logger'
$logFilePath: '@=service("OxidSolutionCatalysts\\Adyen\\Service\\Context").getAdyenLogFilePath()'
$logLevel: !php/const Psr\Log\LogLevel::INFO
OxidSolutionCatalysts\Adyen\Service\:
resource: 'src/Service/*'
exclude: ['src/Service/{AdyenSDKLoader}', 'src/Service/AdyenApiResponse']
public: true
OxidSolutionCatalysts\Adyen\Service\AdyenSDKLoader:
class: OxidSolutionCatalysts\Adyen\Service\AdyenSDKLoader
public: true
arguments:
$moduleLogger: '@OxidSolutionCatalysts\Adyen\Logger'
OxidSolutionCatalysts\Adyen\Subscriber\BeforeModelUpdate:
class: OxidSolutionCatalysts\Adyen\Subscriber\BeforeModelUpdate
tags: [ 'kernel.event_subscriber' ]