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