<?php
namespace Amasty\ShopbyBrand\Controller\Router;

/**
 * Interceptor class for @see \Amasty\ShopbyBrand\Controller\Router
 */
class Interceptor extends \Amasty\ShopbyBrand\Controller\Router implements \Magento\Framework\Interception\InterceptorInterface
{
    use \Magento\Framework\Interception\Interceptor;

    public function __construct(\Magento\Framework\App\ActionFactory $actionFactory, \Magento\Framework\App\ResponseInterface $response, \Magento\Framework\UrlInterface $urlBuilder, \Amasty\ShopbyBrand\Helper\Data $brandHelper, \Amasty\ShopbyBase\Helper\PermissionHelper $permissionHelper, \Amasty\ShopbyBrand\Model\ConfigProvider $configProvider, \Amasty\ShopbyBase\Model\Redirect\NonSlash $nonSlashRedirectManager, ?\Amasty\ShopbyBrand\Model\UrlParser\MatchBrandParams $matchBrandParams)
    {
        $this->___init();
        parent::__construct($actionFactory, $response, $urlBuilder, $brandHelper, $permissionHelper, $configProvider, $nonSlashRedirectManager, $matchBrandParams);
    }

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

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