private function containsFacetGetGroupInterface(FacetGetGroupInterface $facet) { $myLazyGroups = $this->getLazyGroups(); $id = $facet->getGroupId(); if (isset($myLazyGroups[$id])) { return $myLazyGroups[$id]->getUniqueKey() === $facet->getUniqueKey(); } return false; }
/** * @param FacetGetGroupInterface $group * @param integer $limit * * @return $this */ public function selectFacetsByFacetGroup(FacetGetGroupInterface $group, $limit) { return $this->selectFacetsByGroupId($group->getGroupId(), $limit); }