![]() 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/amasty/feed/Api/ |
<?php /** * @author Amasty Team * @copyright Copyright (c) Amasty (https://www.amasty.com) * @package Product Feed for Magento 2 */ namespace Amasty\Feed\Api; interface CustomFieldsRepositoryInterface { /** * @param \Amasty\Feed\Model\Field\Field $field * * @return \Amasty\Feed\Model\Field\Field */ public function saveField($field); /** * @param \Amasty\Feed\Model\Field\Condition $condition * @param int $fieldId * * @return void */ public function saveCondition($condition, $fieldId); /** * @param int $fieldId * @param bool $deleteField * * @return void */ public function deleteAllConditions($fieldId, $deleteField = false); /** * @param int $conditionId * * @return \Amasty\Feed\Model\Field\Condition */ public function getConditionModel($conditionId = null); /** * @param int $fieldId * * @return array */ public function getConditionsIds($fieldId); /** * @param int $fieldId * * @return \Amasty\Feed\Model\Field\Field */ public function getFieldModel($fieldId = null); }