<?php

declare(strict_types=1);

namespace MonsieurBiz\SyliusSearchPlugin\Model\Document;

class ResultSetFilter implements FilterAwareInterface
{
    private ?FilterInterface $filter = null;

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

        return $this;
    }

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