<?php

declare(strict_types=1);

namespace Dedi\SyliusTheme\Resolver;

use Sylius\Component\Product\Model\ProductInterface;
use Sylius\Component\Product\Model\ProductVariantInterface;
use Sylius\Component\Product\Resolver\ProductVariantResolverInterface as BaseProductVariantResolverInterface;

interface ProductVariantResolverInterface extends BaseProductVariantResolverInterface
{
    public function getVariantWithCode(ProductInterface $subject, string $code): ?ProductVariantInterface;
}
