<?php
namespace MageWorx\OptionGraphQl\Model\Resolver\DependencyState;

/**
 * Interceptor class for @see \MageWorx\OptionGraphQl\Model\Resolver\DependencyState
 */
class Interceptor extends \MageWorx\OptionGraphQl\Model\Resolver\DependencyState implements \Magento\Framework\Interception\InterceptorInterface
{
    use \Magento\Framework\Interception\Interceptor;

    public function __construct(\MageWorx\OptionBase\Helper\Data $baseHelper, \Magento\Catalog\Api\ProductRepositoryInterface $productRepository, \MageWorx\OptionBase\Model\HiddenDependents $hiddenDependentsStorage, \Magento\Framework\Event\ManagerInterface $eventManager, \Magento\Framework\Serialize\SerializerInterface $serializer)
    {
        $this->___init();
        parent::__construct($baseHelper, $productRepository, $hiddenDependentsStorage, $eventManager, $serializer);
    }

    /**
     * {@inheritdoc}
     */
    public function resolve(\Magento\Framework\GraphQl\Config\Element\Field $field, $context, \Magento\Framework\GraphQl\Schema\Type\ResolveInfo $info, ?array $value = null, ?array $args = null) : array
    {
        $pluginInfo = $this->pluginList->getNext($this->subjectType, 'resolve');
        return $pluginInfo ? $this->___callPlugins('resolve', func_get_args(), $pluginInfo) : parent::resolve($field, $context, $info, $value, $args);
    }
}
