vendor/bitbag/elasticsearch-plugin/src/Model/Search.php line 15
<?php
/*
* This file has been created by developers from BitBag.
* Feel free to contact us once you face any issues or want to start
* another great project.
* You can find more information about us on https://bitbag.io and write us
* an email on hello@bitbag.io.
*/
declare(strict_types=1);
namespace BitBag\SyliusElasticsearchPlugin\Model;
class Search
{
private ?SearchBox $box;
private ?SearchFacets $facets;
public function __construct()
{
$this->box = new SearchBox();
$this->facets = new SearchFacets();
}
public function getBox(): ?SearchBox
{
return $this->box;
}
public function setBox(?SearchBox $box): void
{
$this->box = $box;
}
public function getFacets(): ?SearchFacets
{
return $this->facets;
}
public function setFacets(?SearchFacets $facets): void
{
$this->facets = $facets;
}
}