<?php
namespace Mirasvit\SeoContent\Service\ContentService;

/**
 * Interceptor class for @see \Mirasvit\SeoContent\Service\ContentService
 */
class Interceptor extends \Mirasvit\SeoContent\Service\ContentService implements \Magento\Framework\Interception\InterceptorInterface
{
    use \Magento\Framework\Interception\Interceptor;

    public function __construct(\Mirasvit\SeoContent\Service\TemplateService $templateService, \Mirasvit\SeoContent\Service\RewriteService $rewriteService, \Mirasvit\Seo\Api\Service\StateServiceInterface $stateService, \Mirasvit\SeoContent\Api\Data\ContentInterface $content, \Mirasvit\Seo\Api\Service\TemplateEngineServiceInterface $templateEngineService, array $modifierPool)
    {
        $this->___init();
        parent::__construct($templateService, $rewriteService, $stateService, $content, $templateEngineService, $modifierPool);
    }

    /**
     * {@inheritdoc}
     */
    public function processCurrentContent(?int $ruleType = null, ?\Magento\Catalog\Api\Data\ProductInterface $product = null) : \Mirasvit\SeoContent\Api\Data\ContentInterface
    {
        $pluginInfo = $this->pluginList->getNext($this->subjectType, 'processCurrentContent');
        return $pluginInfo ? $this->___callPlugins('processCurrentContent', func_get_args(), $pluginInfo) : parent::processCurrentContent($ruleType, $product);
    }
}
