private function getCustomerGroup(array $entry)
    {
        /**
         * @var EntityRepository $customerGroupRepository
         */
        $customerGroupRepository = $this->entityManager->getRepository(GroupModel::class);

        /**
         * @var GroupModel $customerGroup
         */
        return $customerGroupRepository->findOneBy(['key' => $entry['groupKey']]);
    }
private function getCustomerGroup(array $entry)
    {
        /**
         * @var EntityRepository $customerGroupRepository
         */
        $customerGroupRepository = $this->entityManager->getRepository(GroupModel::class);

        /**
         * @var GroupModel $customerGroup
         */
        return $customerGroupRepository->findOneBy(['key' => $entry['groupKey']]);
    }
@param array $entry

@return null|GroupModel