Exemplo n.º 1
0
 /**
  * @param \Generated\Shared\Transfer\FacetConfigTransfer $facetConfigTransfer
  * @param array|string $rangeValues
  * @param \Spryker\Client\Search\Model\Elasticsearch\Query\QueryBuilderInterface $queryBuilder
  */
 public function __construct(FacetConfigTransfer $facetConfigTransfer, $rangeValues, QueryBuilderInterface $queryBuilder)
 {
     $this->facetConfigTransfer = $facetConfigTransfer;
     $this->setMinMaxValues($rangeValues);
     parent::__construct($queryBuilder);
 }
Exemplo n.º 2
0
 /**
  * @param \Generated\Shared\Transfer\FacetConfigTransfer $facetConfigTransfer
  * @param array $filterValues
  * @param \Spryker\Client\Search\Model\Elasticsearch\Query\QueryBuilderInterface $queryBuilder
  */
 public function __construct(FacetConfigTransfer $facetConfigTransfer, array $filterValues, QueryBuilderInterface $queryBuilder)
 {
     $this->facetConfigTransfer = $facetConfigTransfer;
     $this->filterValues = $filterValues;
     parent::__construct($queryBuilder);
 }