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,40 @@
parameters:
ps_cache_dir: !php/const _PS_CACHE_DIR_
services:
_defaults:
public: true
mbo_doctrine_cache_provider: '@Doctrine\Common\Cache\Psr6\DoctrineProvider'
Symfony\Component\Cache\Adapter\FilesystemAdapter:
autowire: true
arguments:
$namespace: ''
$defaultLifetime: 0
$directory: "%ps_cache_dir%%/ps_mbo"
Doctrine\Common\Cache\Psr6\DoctrineProvider:
autowire: true
autoconfigure: true
factory: [ Doctrine\Common\Cache\Psr6\DoctrineProvider, wrap ]
arguments:
$pool: '@Symfony\Component\Cache\Adapter\FilesystemAdapter'
# Distribution API Client
PrestaShop\Module\Mbo\Distribution\Client:
autowire: true
arguments:
$apiUrl: "%env(DISTRIBUTION_API_URL)%"
$httpClient: '@Psr\Http\Client\ClientInterface'
$requestFactory: '@Psr\Http\Message\ServerRequestFactoryInterface'
$cacheProvider: '@Doctrine\Common\Cache\Psr6\DoctrineProvider'
# Distribution API Client with addons user
PrestaShop\Module\Mbo\Distribution\ConnectedClient:
autowire: true
arguments:
$apiUrl: "%env(DISTRIBUTION_API_URL)%"
$httpClient: '@Psr\Http\Client\ClientInterface'
$requestFactory: '@Psr\Http\Message\ServerRequestFactoryInterface'
$cacheProvider: '@Doctrine\Common\Cache\Psr6\DoctrineProvider'