Skip to content

Commit

Permalink
switch back from bindings because it does not work in OXID 6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
mariolorenz committed Sep 29, 2023
1 parent c5ae27c commit bb74e07
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,26 @@ services:
_defaults:
public: false
autowire: true
bind:
OxidEsales\Eshop\Core\Config: '@=service("OxidSolutionCatalysts\\PayPal\\Core\\Registry").getConfig()'
OxidEsales\Eshop\Core\Session: '@=service("OxidSolutionCatalysts\\PayPal\\Core\\Registry").getSession()'
OxidEsales\Eshop\Core\Language: '@=service("OxidSolutionCatalysts\\PayPal\\Core\\Registry").getLang()'
OxidEsales\Eshop\Core\UtilsDate: '@=service("OxidSolutionCatalysts\\PayPal\\Core\\Registry").getUtilsDate()'
OxidEsales\Eshop\Core\Request: '@=service("OxidSolutionCatalysts\\PayPal\\Core\\Registry").getRequest()'

OxidSolutionCatalysts\PayPal\Core\Registry:

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\PayPal\Logger:
class: Monolog\Logger
factory: ['@OxidSolutionCatalysts\PayPal\Logger\Factory', 'create']
Expand Down

0 comments on commit bb74e07

Please sign in to comment.