<?php
namespace Magento\Elasticsearch\Model\Adapter\FieldMapper\Product\AttributeAdapter;

/**
 * Interceptor class for @see \Magento\Elasticsearch\Model\Adapter\FieldMapper\Product\AttributeAdapter
 */
class Interceptor extends \Magento\Elasticsearch\Model\Adapter\FieldMapper\Product\AttributeAdapter implements \Magento\Framework\Interception\InterceptorInterface
{
    use \Magento\Framework\Interception\Interceptor;

    public function __construct(\Magento\Framework\Api\CustomAttributesDataInterface $attribute, string $attributeCode)
    {
        $this->___init();
        parent::__construct($attribute, $attributeCode);
    }

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