![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/extmag/core/Api/ |
<?php /** * Copyright © Extmag. All rights reserved. */ namespace Extmag\Core\Api; use Extmag\Core\Api\Data\ConfigInterface; use Extmag\Core\Api\Data\ConfigSearchResultsInterface; use Magento\Framework\Api\SearchCriteriaInterface; use Magento\Framework\Exception\LocalizedException; use Magento\Framework\Exception\NoSuchEntityException; /** * Config CRUD interface. * @api */ interface ConfigRepositoryInterface { /** * @param ConfigInterface $item * @return ConfigInterface * @throws LocalizedException */ public function save(Data\ConfigInterface $item); /** * @param int $entityId * @return ConfigInterface * @throws LocalizedException */ public function getById($entityId); /** * Retrieve items matching the specified criteria. * * @param SearchCriteriaInterface $searchCriteria * @return ConfigSearchResultsInterface * @throws LocalizedException */ public function getList(SearchCriteriaInterface $searchCriteria); /** * @param ConfigInterface $item * @return bool true on success * @throws LocalizedException */ public function delete(Data\ConfigInterface $item); /** * Delete item by ID. * * @param int $entityId * @return bool true on success * @throws NoSuchEntityException * @throws LocalizedException */ public function deleteById($entityId); }