first commit

This commit is contained in:
2024-10-28 22:14:22 +01:00
commit b65352c452
40581 changed files with 5712079 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
<?php
use PrestaShop\Module\PsEventbus\Config\Config;
use PrestaShop\Module\PsEventbus\Controller\AbstractApiController;
use PrestaShop\Module\PsEventbus\Provider\CarrierDataProvider;
class ps_EventbusApiCarriersModuleFrontController extends AbstractApiController
{
public $type = Config::COLLECTION_CARRIERS;
/**
* @throws PrestaShopException
*
* @return void
*/
public function postProcess()
{
/** @var CarrierDataProvider $carrierDataProvider */
$carrierDataProvider = $this->module->getService(CarrierDataProvider::class);
$response = $this->handleDataSync($carrierDataProvider);
$this->exitWithResponse($response);
}
}