Current File : //var/www/vinorea/modules/ps_edition_basic/config/services.yml |
imports:
- { resource: ./parameters.yml }
- { resource: ./presenters.yml }
services:
_defaults:
public: true
ps_edition_basic.module:
class: ps_edition_basic
factory: ["Module", "getInstanceByName"]
arguments:
- "ps_edition_basic"
ps_edition_basic.ps_accounts.installer:
class: 'PrestaShop\PsAccountsInstaller\Installer\Installer'
arguments:
- "5.2.5"
ps_edition_basic.ps_accounts.facade:
class: 'PrestaShop\PsAccountsInstaller\Installer\Facade\PsAccounts'
arguments:
- "@ps_edition_basic.ps_accounts.installer"
PrestaShop\Module\PsEditionBasic\Service\ConfigurationService:
class: PrestaShop\Module\PsEditionBasic\Service\ConfigurationService
PrestaShop\Module\PsEditionBasic\Service\ModuleService:
class: PrestaShop\Module\PsEditionBasic\Service\ModuleService
arguments:
- "@prestashop.module.manager"
- "@=service('ps_edition_basic.module').name"
- "@=service('ps_edition_basic.module').addons_id"
# PS Billing
ps_billings.context_wrapper:
class: 'PrestaShopCorp\Billing\Wrappers\BillingContextWrapper'
arguments:
- "@ps_edition_basic.ps_accounts.facade"
- "@=service('smb_edition.context') ?: null"
ps_billings.facade:
class: 'PrestaShopCorp\Billing\Presenter\BillingPresenter'
arguments:
- "@ps_billings.context_wrapper"
- "@=service('smb_edition.module') ?: null"
# Remove this if you don't need BillingService
ps_billings.service:
class: PrestaShopCorp\Billing\Services\BillingService
public: true
arguments:
- "@ps_billings.context_wrapper"
- "@=service('smb_edition.module') ?: null"