* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0 */ declare(strict_types=1); namespace PrestaShop\Module\Mbo\Addons\Provider; interface DataProviderInterface { /** * Check if a request has already failed. * * @return bool */ public function isServiceUp(): bool; /** * Send a request to addons.prestashop.com to retrieve Modules/Addons data. * * @param string $action the query type * @param array $params the request parameters */ public function request(string $action, array $params); }