first commit

This commit is contained in:
2024-12-17 13:43:22 +01:00
commit 8e6cd8b410
21292 changed files with 3514826 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
<?php
use PrestaShop\Module\PsEventbus\Controller\AbstractApiController;
use PrestaShop\Module\PsEventbus\Provider\CartDataProvider;
class ps_EventbusApiCartsModuleFrontController extends AbstractApiController
{
public $type = 'carts';
/**
* @throws PrestaShopException
*
* @return void
*/
public function postProcess()
{
$cartDataProvider = $this->module->getService(CartDataProvider::class);
$response = $this->handleDataSync($cartDataProvider);
$this->exitWithResponse($response);
}
}