public function visitHydration(SpecificationInterface $specification, SpecificationWalker $walker, $query) { $query->hydrate($specification->getValue()); }
public function visitFilter(SpecificationInterface $specification, SpecificationWalker $walker, $query) { $mappedOperator = $this->filterMap[$specification->getOperator()]; $query->expr()->{$mappedOperator}($specification->getField(), $specification->getValue()); }
public function visitFilter(SpecificationInterface $specification, SpecificationWalker $walker, $query) { $this->andWhere($query, $specification->getOperator(), $specification->getField(), $specification->getValue()); }