<?php
namespace Amasty\AdvancedReview\Controller\Ajax\Comment\Add;

/**
 * Interceptor class for @see \Amasty\AdvancedReview\Controller\Ajax\Comment\Add
 */
class Interceptor extends \Amasty\AdvancedReview\Controller\Ajax\Comment\Add implements \Magento\Framework\Interception\InterceptorInterface
{
    use \Magento\Framework\Interception\Interceptor;

    public function __construct(\Amasty\AdvancedReview\Api\CommentRepositoryInterface $commentRepository, \Amasty\AdvancedReview\Helper\Config $config, \Magento\Customer\Model\SessionFactory $sessionFactory, \Magento\Store\Model\StoreManagerInterface $storeManager, \Magento\Framework\Data\Form\FormKey\Validator $formKeyValidator, \Magento\Framework\Escaper $escaper, \Psr\Log\LoggerInterface $logger, \Magento\Framework\App\Action\Context $context, \Amasty\AdvancedReview\Model\Email\CommentNotification $commentNotification)
    {
        $this->___init();
        parent::__construct($commentRepository, $config, $sessionFactory, $storeManager, $formKeyValidator, $escaper, $logger, $context, $commentNotification);
    }

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

    /**
     * {@inheritdoc}
     */
    public function dispatch(\Magento\Framework\App\RequestInterface $request)
    {
        $pluginInfo = $this->pluginList->getNext($this->subjectType, 'dispatch');
        return $pluginInfo ? $this->___callPlugins('dispatch', func_get_args(), $pluginInfo) : parent::dispatch($request);
    }
}
