File: //proc/self/cwd/nueva/modules/btecommercecopilot/config/admin/services.yml
services:
_defaults:
public: true
##############
# btecommercecopilot
btecommercecopilot.module:
class: btecommercecopilot
factory: ['Module', 'getInstanceByName']
arguments:
- btecommercecopilot
btecommercecopilot.context:
class: Context
factory: ['Context', 'getContext']
#####################
# PrestaShop Account
btecommercecopilot.ps_accounts_installer:
class: 'PrestaShop\PsAccountsInstaller\Installer\Installer'
arguments:
- '5.0'
btecommercecopilot.ps_accounts_facade:
class: 'PrestaShop\PsAccountsInstaller\Installer\Facade\PsAccounts'
arguments:
- '@btecommercecopilot.ps_accounts_installer'
#####################
# PrestaShop Billing
btecommercecopilot.ps_billings_context_wrapper:
class: 'PrestaShopCorp\Billing\Wrappers\BillingContextWrapper'
arguments:
- '@btecommercecopilot.ps_accounts_facade'
- '@btecommercecopilot.context'
- false # if true, enables the sandbox mode, if false or empty, disables it
btecommercecopilot.ps_billings_facade:
class: 'PrestaShopCorp\Billing\Presenter\BillingPresenter'
public: true
arguments:
- '@btecommercecopilot.ps_billings_context_wrapper'
- '@btecommercecopilot.module'
# Remove this if you do not need BillingService
btecommercecopilot.ps_billings_service:
class: 'PrestaShopCorp\Billing\Services\BillingService'
public: true
arguments:
- '@btecommercecopilot.ps_billings_context_wrapper'
- '@btecommercecopilot.module'