<?php
namespace Magento\Store\Model\StoreSwitcher\HashGenerator;

/**
 * Interceptor class for @see \Magento\Store\Model\StoreSwitcher\HashGenerator
 */
class Interceptor extends \Magento\Store\Model\StoreSwitcher\HashGenerator implements \Magento\Framework\Interception\InterceptorInterface
{
    use \Magento\Framework\Interception\Interceptor;

    public function __construct(\Magento\Framework\App\DeploymentConfig $deploymentConfig, \Magento\Framework\Url\Helper\Data $urlHelper, \Magento\Authorization\Model\UserContextInterface $currentUser)
    {
        $this->___init();
        parent::__construct($deploymentConfig, $urlHelper, $currentUser);
    }

    /**
     * {@inheritdoc}
     */
    public function generateHash(\Magento\Store\Api\Data\StoreInterface $fromStore): array
    {
        $pluginInfo = $this->pluginList->getNext($this->subjectType, 'generateHash');
        return $pluginInfo ? $this->___callPlugins('generateHash', func_get_args(), $pluginInfo) : parent::generateHash($fromStore);
    }
}
