<?php

declare(strict_types=1);

namespace MonsieurBiz\SyliusSearchPlugin\Model\Document;

class ResultSetRangeFilter implements RangeFilterAwareInterface
{
    private ?RangeFilterInterface $filter = null;

    public function setFilter(?RangeFilterInterface $priceFilter): self
    {
        $this->filter = $priceFilter;

        return $this;
    }

    public function getFilter(): ?RangeFilterInterface
    {
        return $this->filter;
    }
}
