<?php

/*
 * This file is part of the Sylius package.
 *
 * (c) Paweł Jędrzejewski
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Sylius\Component\Core\Repository;

use Sylius\Component\Resource\Repository\RepositoryInterface;

/**
 * This interface should be implemented by repository of product variants.
 *
 * @author Paweł Jędrzejewski <pawel@sylius.org>
 */
interface ProductVariantRepositoryInterface extends RepositoryInterface
{
    /**
     * Get query builder for the form choice field.
     */
    public function getFormQueryBuilder();
}

Add repository interface and fix promotion scenarios
Add repository interface and fix promotion scenarios
