first commit
This commit is contained in:
2
config/services/admin/services_dev.yml
Normal file
2
config/services/admin/services_dev.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
imports:
|
||||
- { resource: services_prod.yml }
|
||||
31
config/services/admin/services_prod.yml
Normal file
31
config/services/admin/services_prod.yml
Normal file
@@ -0,0 +1,31 @@
|
||||
imports:
|
||||
- { resource: ../common.yml }
|
||||
- { resource: ../../../src/PrestaShopBundle/Resources/config/services/adapter/news.yml }
|
||||
|
||||
services:
|
||||
filesystem:
|
||||
class: Symfony\Component\Filesystem\Filesystem
|
||||
|
||||
finder:
|
||||
class: Symfony\Component\Finder\Finder
|
||||
|
||||
hook_provider:
|
||||
class: PrestaShop\PrestaShop\Adapter\Hook\HookInformationProvider
|
||||
|
||||
hook_repository:
|
||||
class: PrestaShop\PrestaShop\Core\Module\HookRepository
|
||||
arguments: ["@hook_provider", "@shop", "@db"]
|
||||
|
||||
hook_configurator:
|
||||
class: PrestaShop\PrestaShop\Core\Module\HookConfigurator
|
||||
arguments: ["@hook_repository"]
|
||||
|
||||
theme_validator:
|
||||
class: PrestaShop\PrestaShop\Core\Addon\Theme\ThemeValidator
|
||||
|
||||
theme_manager:
|
||||
class: PrestaShop\PrestaShop\Core\Addon\Theme\ThemeManager
|
||||
arguments: ["@shop", "@configuration", "@theme_validator", "@employee", "@filesystem", "@finder", "@hook_configurator"]
|
||||
|
||||
context.static:
|
||||
class: Context
|
||||
2
config/services/admin/services_test.yml
Normal file
2
config/services/admin/services_test.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
imports:
|
||||
- { resource: services_dev.yml }
|
||||
Reference in New Issue
Block a user