<?php
namespace Amasty\ElasticSearch\Model\Config\QuerySettingsProcessor;

/**
 * Interceptor class for @see \Amasty\ElasticSearch\Model\Config\QuerySettingsProcessor
 */
class Interceptor extends \Amasty\ElasticSearch\Model\Config\QuerySettingsProcessor implements \Magento\Framework\Interception\InterceptorInterface
{
    use \Magento\Framework\Interception\Interceptor;

    public function __construct(\Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig, \Amasty\ElasticSearch\Model\Source\FulltextAttributes $fulltextAttributes, \Magento\Framework\Serialize\Serializer\Json $serializer)
    {
        $this->___init();
        parent::__construct($scopeConfig, $fulltextAttributes, $serializer);
    }

    /**
     * {@inheritdoc}
     */
    public function getConfigValue(string $attributeCode): ?array
    {
        $pluginInfo = $this->pluginList->getNext($this->subjectType, 'getConfigValue');
        return $pluginInfo ? $this->___callPlugins('getConfigValue', func_get_args(), $pluginInfo) : parent::getConfigValue($attributeCode);
    }

    /**
     * {@inheritdoc}
     */
    public function getSearchableAttributeCodes(): array
    {
        $pluginInfo = $this->pluginList->getNext($this->subjectType, 'getSearchableAttributeCodes');
        return $pluginInfo ? $this->___callPlugins('getSearchableAttributeCodes', func_get_args(), $pluginInfo) : parent::getSearchableAttributeCodes();
    }

    /**
     * {@inheritdoc}
     */
    public function parseLoad($value)
    {
        $pluginInfo = $this->pluginList->getNext($this->subjectType, 'parseLoad');
        return $pluginInfo ? $this->___callPlugins('parseLoad', func_get_args(), $pluginInfo) : parent::parseLoad($value);
    }
}
