/** * {@inheritdoc} */ public function search(CriteriaCollectionInterface $criteriaCollection) { $builders = $this->builders->getCriteriaBuildersForContext($this->searchingContext); foreach ($criteriaCollection->getApplicableCriteria() as $criteria) { $this->searchForModel($criteria, $this->searchingContext, $builders); } return $this->searchingContext->getResults(); }