Files
prestashop/modules/psshipping/config/services.yml
2026-04-09 18:31:51 +02:00

40 lines
1.0 KiB
YAML

imports:
- { resource: parameters.yml }
- { resource: controllers.yml }
- { resource: accounts.yml }
- { resource: billing.yml }
- { resource: handler.yml }
- { resource: configuration.yml }
- { resource: hooks.yml }
- { resource: repositories.yml }
- { resource: gelProximity.yml }
services:
_defaults:
public: true
psshipping:
class: 'Psshipping'
factory: ['Module', 'getInstanceByName']
arguments:
- "psshipping"
psshipping.helper.config:
class: 'PrestaShop\Module\Psshipping\Helper\ConfigHelper'
arguments:
- "%psshipping.api_url%"
- "%psshipping.mbe_tracking_url%"
- "%psshipping.segment_key%"
- "%psshipping.sentry_dsn%"
- "%psshipping.sentry_env%"
psshipping.context:
class: Context
factory: ['Context', 'getContext']
PrestaShop\Module\Psshipping\Domain\Carriers\CarrierService:
class: 'PrestaShop\Module\Psshipping\Domain\Carriers\CarrierService'
arguments:
- '@psshipping'
- '@PrestaShop\Module\Psshipping\Domain\Carriers\CarrierRepository'