services:
  _defaults:
    public: true

  context.static:
    class: Context

  finder:
    class: Symfony\Component\Finder\Finder

  hook_repository:
    class: PrestaShop\PrestaShop\Core\Module\HookRepository
    arguments:
      - "@hook_provider"
      - "@=service('prestashop.adapter.legacy.context').getContext().shop"
      - "@prestashop.adapter.legacy_db"

  hook_configurator:
    class: PrestaShop\PrestaShop\Core\Module\HookConfigurator
    arguments:
      - "@hook_repository"
