8 use \Magento\Framework\App\Cache\Type\Block;
9 use \Magento\Framework\App\Cache\Type\Collection;
21 private $swatchHelper;
28 \
Magento\Framework\
App\Cache\TypeListInterface $typeList,
29 \
Magento\Swatches\Helper\Data $swatchHelper
31 $this->typeList = $typeList;
32 $this->swatchHelper = $swatchHelper;
44 if ($this->swatchHelper->isSwatchAttribute($subject)) {
__construct(\Magento\Framework\App\Cache\TypeListInterface $typeList, \Magento\Swatches\Helper\Data $swatchHelper)
afterSave(\Magento\Catalog\Model\ResourceModel\Eav\Attribute $subject, \Magento\Catalog\Model\ResourceModel\Eav\Attribute $result)