Subida del módulo y tema de PrestaShop

This commit is contained in:
Kaloyan
2026-04-09 18:31:51 +02:00
parent 12c253296f
commit 16b3ff9424
39262 changed files with 7418797 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
imports:
- { resource: services_prod.yml }

View File

@@ -0,0 +1,30 @@
imports:
- { resource: ../common.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", "@logger", "@prestashop.module.manager"]
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

View File

@@ -0,0 +1,2 @@
imports:
- { resource: services_dev.yml }

View File

@@ -0,0 +1,34 @@
parameters:
mail_themes_uri: "/mails/themes"
imports:
- { resource: ../../src/PrestaShopBundle/Resources/config/services/core/cldr.yml }
- { resource: ../../src/PrestaShopBundle/Resources/config/services/adapter/data_provider_common.yml }
- { resource: ../../src/PrestaShopBundle/Resources/config/services/adapter/common.yml }
- { resource: ../../src/PrestaShopBundle/Resources/config/services/core/common.yml }
- { resource: ../../src/PrestaShopBundle/Resources/config/services/bundle/common.yml }
services:
_defaults:
public: true
PrestaShop\PrestaShop\Core\Crypto\Hashing: ~
hashing:
alias: PrestaShop\PrestaShop\Core\Crypto\Hashing
prestashop.database.naming_strategy:
class: PrestaShopBundle\Service\Database\DoctrineNamingStrategy
arguments:
$reader: '@annotation_reader'
$prefix: "%database_prefix%"
annotation_reader:
class: Doctrine\Common\Annotations\AnnotationReader
PrestaShopBundle\DependencyInjection\RuntimeConstEnvVarProcessor:
public: false
tags: ['container.env_var_processor']
PrestaShop\PrestaShop\Core\Hook\HookModuleFilter:
arguments:
- !tagged core.hook_module_exec_filter

View File

@@ -0,0 +1,2 @@
imports:
- { resource: services_prod.yml }

View File

@@ -0,0 +1,75 @@
imports:
- { resource: ../common.yml }
services:
_defaults:
public: true
prestashop.core.filter.front_end_object.main:
class: PrestaShop\PrestaShop\Core\Filter\FrontEndObject\MainFilter
arguments:
- cart: '@prestashop.core.filter.front_end_object.cart'
customer: '@prestashop.core.filter.front_end_object.customer'
shop: '@prestashop.core.filter.front_end_object.shop'
configuration: '@prestashop.core.filter.front_end_object.configuration'
prestashop.core.filter.front_end_object.product:
class: PrestaShop\PrestaShop\Core\Filter\FrontEndObject\ProductFilter
prestashop.core.filter.front_end_object.cart:
class: PrestaShop\PrestaShop\Core\Filter\FrontEndObject\CartFilter
arguments:
- '@prestashop.core.filter.front_end_object.product_collection'
prestashop.core.filter.front_end_object.search_result_product:
class: PrestaShop\PrestaShop\Core\Filter\FrontEndObject\SearchResultProductFilter
prestashop.core.filter.front_end_object.customer:
class: PrestaShop\PrestaShop\Core\Filter\FrontEndObject\CustomerFilter
prestashop.core.filter.front_end_object.shop:
class: PrestaShop\PrestaShop\Core\Filter\FrontEndObject\ShopFilter
prestashop.core.filter.front_end_object.configuration:
class: PrestaShop\PrestaShop\Core\Filter\FrontEndObject\ConfigurationFilter
prestashop.core.filter.front_end_object.product_collection:
class: PrestaShop\PrestaShop\Core\Filter\CollectionFilter
calls:
- method: queue
arguments:
- ['@prestashop.core.filter.front_end_object.product']
prestashop.core.filter.front_end_object.search_result_product_collection:
class: PrestaShop\PrestaShop\Core\Filter\CollectionFilter
calls:
- method: queue
arguments:
- ['@prestashop.core.filter.front_end_object.search_result_product']
prestashop.adapter.module.repository.module_repository:
class: 'PrestaShop\PrestaShop\Adapter\Module\Repository\ModuleRepository'
arguments:
- !php/const _PS_ROOT_DIR_
- !php/const _PS_MODULE_DIR_
prestashop.translation.translator_language_loader:
class: PrestaShopBundle\Translation\TranslatorLanguageLoader
arguments:
- '@prestashop.adapter.module.repository.module_repository'
# Special definition for legacy environments since they don't initialize the request stack, which is a dependency for the feature flag checker
Symfony\Component\HttpFoundation\RequestStack:
factory: [ 'PrestaShopBundle\Http\RequestStackFactory', 'buildRequestStack' ]
lazy: true
request_stack:
alias: Symfony\Component\HttpFoundation\RequestStack
# Special validator to validate tokens from admin in the front environment
PrestaShopBundle\Security\Admin\LegacyAdminTokenValidator:
public: true
lazy: true
arguments:
$employeeRepository: '@PrestaShop\PrestaShop\Adapter\Employee\EmployeeRepository'
$requestStack: '@request_stack'

View File

@@ -0,0 +1,2 @@
imports:
- { resource: services_dev.yml }

View File

@@ -0,0 +1,2 @@
imports:
- { resource: services_prod.yml }

View File

@@ -0,0 +1,14 @@
imports:
- { resource: ../common.yml }
services:
_defaults:
public: true
# Special definition for legacy environments since they don't initialize the request stack, which is a dependency for the feature flag checker
Symfony\Component\HttpFoundation\RequestStack:
factory: [ 'PrestaShopBundle\Http\RequestStackFactory', 'buildRequestStack' ]
lazy: true
request_stack:
alias: Symfony\Component\HttpFoundation\RequestStack

View File

@@ -0,0 +1,2 @@
imports:
- { resource: services_dev.yml }