<?php

declare(strict_types=1);

namespace MonsieurBiz\SyliusSearchPlugin\Factory\ResultSet;

use Elastica\ResultSet as ElasticaResultSet;
use MonsieurBiz\SyliusSearchPlugin\Model\Document\FilterAwareInterface;
use Sylius\Component\Core\Model\TaxonInterface;

interface TaxonFilterFactoryInterface
{
    public function create(ElasticaResultSet $resultSet = null, ?TaxonInterface $taxon = null): FilterAwareInterface;
}
