igmf/kernel/modules/module_shop_client/services/ModuleShopClientService.php

16 lines
471 B
PHP
Raw Normal View History

2024-12-23 15:47:03 +03:00
<?php
namespace kernel\modules\module_shop_client\services;
use kernel\helpers\RESTClient;
class ModuleShopClientService
{
public function getModulesInfo(string $url)
{
// $modules_info = RESTClient::request($url);
// $modules_info = json_decode($modules_info->getBody()->getContents(), true);
// $module_count = count($modules_info);
// $modules_info = array_slice($modules_info, $per_page * ($page_number - 1), $per_page);
}
}