parameters:

services:
  _defaults:
    public: true

  prestashop.module.lcvprestatheme:
    class: LCVPrestaTheme
    factory: [Module, getInstanceByName]
    arguments:
      - 'lcvprestatheme'

  # Controllers    
  PrestaShop\Module\LCVPrestaTheme\Controllers\Admin\ConfigurationAdminController:
    public: true
    autowire: true
    autoconfigure: true
    class: PrestaShop\Module\LCVPrestaTheme\Controllers\Admin\ConfigurationAdminController 

  # Config
  PrestaShop\Module\LCVPrestaTheme\Config:
    public: true
    autowire: true
    autoconfigure: true
    class: PrestaShop\Module\LCVPrestaTheme\Config\ConfigLCVPrestaTheme

  # Controllers
  PrestaShop\Module\LCVPrestaTheme\Controllers\Admin\AdminFormController:
    public: true
    autowire: true
    autoconfigure: true
    class: PrestaShop\Module\LCVPrestaTheme\Controllers\Admin\AdminFormController
    tags: ['controller.service_arguments']

  PrestaShop\Module\LCVPrestaTheme\Controllers\Admin\AdminGeneralController:
    public: true
    autowire: true
    autoconfigure: true
    class: PrestaShop\Module\LCVPrestaTheme\Controllers\Admin\AdminGeneralController

  PrestaShop\Module\LCVPrestaTheme\Controllers\Admin\AdminHomeBlocksController:
    public: true
    autowire: true
    autoconfigure: true
    class: PrestaShop\Module\LCVPrestaTheme\Controllers\Admin\AdminHomeBlocksController

  PrestaShop\Module\LCVPrestaTheme\Controllers\Admin\AdminMenuController:
    public: true
    autowire: true
    autoconfigure: true
    class: PrestaShop\Module\LCVPrestaTheme\Controllers\Admin\AdminMenuController

  PrestaShop\Module\LCVPrestaTheme\Controllers\Admin\ContactCustomerAdminController:
    public: true
    autowire: true
    autoconfigure: true
    class: PrestaShop\Module\LCVPrestaTheme\Controllers\Admin\ContactCustomerAdminController

  PrestaShop\Module\LCVPrestaTheme\Controllers\Admin\AdminProductController:
    autowire: true
    autoconfigure: true
    class: PrestaShop\Module\LCVPrestaTheme\Controllers\Admin\AdminProductController
    arguments:
      - '@prestashop.core.addon.theme.repository'
      - '@prestashop.core.addon.theme.theme_manager_builder'
      - '@prestashop.adapter.legacy.context'
    public: true
    tags: ['controller.service_arguments']

