Current File : //var/www/prestashop/src/PrestaShopBundle/Resources/config/services/adapter/context.yml |
services:
_defaults:
public: true
# SECURITY
# @todo: is this service used?
prestashop.adapter.security.admin:
class: "%AdapterSecurityAdminClass%"
arguments:
- "@prestashop.adapter.legacy.context"
- "@security.token_storage"
- "@prestashop.security.admin.provider"
tags:
- { name: kernel.event_listener, event: kernel.request, method: onKernelRequest }
prestashop.adapter.legacy_context_loader:
class: 'PrestaShop\PrestaShop\Adapter\LegacyContextLoader'
arguments: [ '@=service("prestashop.adapter.legacy.context").getContext()' ]