<?php
namespace Amasty\ShopbySeo\Model\UrlRewrite\IsExist;

/**
 * Interceptor class for @see \Amasty\ShopbySeo\Model\UrlRewrite\IsExist
 */
class Interceptor extends \Amasty\ShopbySeo\Model\UrlRewrite\IsExist implements \Magento\Framework\Interception\InterceptorInterface
{
    use \Magento\Framework\Interception\Interceptor;

    public function __construct(\Magento\UrlRewrite\Model\UrlFinderInterface $urlFinder, \Magento\Store\Model\StoreManager $storeManager)
    {
        $this->___init();
        parent::__construct($urlFinder, $storeManager);
    }

    /**
     * {@inheritdoc}
     */
    public function execute(string $path, ?int $storeId = null, ?string $entityType = null, ?int $entityId = null): bool
    {
        $pluginInfo = $this->pluginList->getNext($this->subjectType, 'execute');
        return $pluginInfo ? $this->___callPlugins('execute', func_get_args(), $pluginInfo) : parent::execute($path, $storeId, $entityType, $entityId);
    }
}
