<commit_before><?php

/*
 * This file is part of the Sylius package.
 *
 * (c) <NAME>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Sylius\Component\Product\Repository;

use Sylius\Component\Resource\Repository\RepositoryInterface;
use Sylius\Component\Product\Model\ProductOptionInterface;

/**
 * @author <NAME> <<EMAIL>>
 */
interface ProductOptionRepositoryInterface extends RepositoryInterface
{
    /**
     * @param string $name
     * @param string $locale
     *
     * @return ProductOptionInterface[]
     */
    public function findByName($name, $locale);
}<commit_msg>[Admin] Tweak the filters and some UI of the product catalog<commit_after><?php

/*
 * This file is part of the Sylius package.
 *
 * (c) <NAME>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Sylius\Component\Product\Repository;

use Sylius\Component\Resource\Repository\RepositoryInterface;
use Sylius\Component\Product\Model\ProductOptionInterface;

/**
 * @author <NAME> <<EMAIL>>
 */
interface ProductOptionRepositoryInterface extends RepositoryInterface
{
    /**
     * @param string $name
     * @param string $locale
     *
     * @return ProductOptionInterface[]
     */
    public function findByName($name, $locale);

    /**
     * @param string $locale
     *
     * @return QueryBuilder
     */
    public function createListQueryBuilder($locale);
}
{'fraction_non_alphanumeric': 0.10577547047371837, 'fraction_numerical': 0.0, 'mean_word_length': 3.6586102719033233, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5317301', 'n_tokens_mistral': 420, 'n_tokens_neox': 420, 'n_words': 128}