<?php
namespace Magento\Downloadable\Block\Catalog\Product\Links;

/**
 * Interceptor class for @see \Magento\Downloadable\Block\Catalog\Product\Links
 */
class Interceptor extends \Magento\Downloadable\Block\Catalog\Product\Links implements \Magento\Framework\Interception\InterceptorInterface
{
    use \Magento\Framework\Interception\Interceptor;

    public function __construct(\Magento\Catalog\Block\Product\Context $context, \Magento\Framework\Pricing\Helper\Data $pricingHelper, \Magento\Framework\Json\EncoderInterface $encoder, array $data = [])
    {
        $this->___init();
        parent::__construct($context, $pricingHelper, $encoder, $data);
    }

    /**
     * {@inheritdoc}
     */
    public function getImage($product, $imageId, $attributes = [])
    {
        $pluginInfo = $this->pluginList->getNext($this->subjectType, 'getImage');
        return $pluginInfo ? $this->___callPlugins('getImage', func_get_args(), $pluginInfo) : parent::getImage($product, $imageId, $attributes);
    }
}
