/** * Finds one group by the given criteria. * * @param array $criteria * @return GroupInterface */ public function findGroupBy(array $criteria) { return $this->repository->findBy($criteria); }