<?php
namespace Amasty\Base\Block\Adminhtml\InstanceRegistrationMessages;

/**
 * Interceptor class for @see \Amasty\Base\Block\Adminhtml\InstanceRegistrationMessages
 */
class Interceptor extends \Amasty\Base\Block\Adminhtml\InstanceRegistrationMessages implements \Magento\Framework\Interception\InterceptorInterface
{
    use \Magento\Framework\Interception\Interceptor;

    public function __construct(\Magento\Backend\Block\Template\Context $context, \Amasty\Base\Model\SysInfo\Command\LicenceService\GetCurrentLicenseValidation $getCurrentLicenseValidation, array $data = [], ?\Amasty\Base\Utils\Text\Splitter $textSplitter = null)
    {
        $this->___init();
        parent::__construct($context, $getCurrentLicenseValidation, $data, $textSplitter);
    }

    /**
     * {@inheritdoc}
     */
    public function render(\Magento\Framework\Data\Form\Element\AbstractElement $element)
    {
        $pluginInfo = $this->pluginList->getNext($this->subjectType, 'render');
        return $pluginInfo ? $this->___callPlugins('render', func_get_args(), $pluginInfo) : parent::render($element);
    }

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

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