| Current Path : /var/www/www.indacotrentino.com/www/app/code/Amasty/ImportCore/Api/Filter/ |
| Current File : /var/www/www.indacotrentino.com/www/app/code/Amasty/ImportCore/Api/Filter/FilterMetaInterface.php |
<?php
/**
* @author Amasty Team
* @copyright Copyright (c) Amasty (https://www.amasty.com)
* @package Import Core for Magento 2 (System)
*/
namespace Amasty\ImportCore\Api\Filter;
use Amasty\ImportCore\Api\Config\Entity\Field\FieldInterface;
use Amasty\ImportCore\Api\Config\Profile\FieldFilterInterface;
/**
* Filter meta
*/
interface FilterMetaInterface
{
/**
* @param FieldInterface $field
* @return array
*/
public function getJsConfig(FieldInterface $field): array;
/**
* @param FieldInterface $field
* @return array
*/
public function getConditions(FieldInterface $field): array;
/**
* @param FieldFilterInterface $filter
* @param $value
* @return FilterMetaInterface
*/
public function prepareConfig(FieldFilterInterface $filter, $value): FilterMetaInterface;
/**
* @param FieldFilterInterface $filter
* @return mixed
*/
public function getValue(FieldFilterInterface $filter);
}