$this->groupExists($gid), )); } /** * @since 28.0.0 */ public function getGroupsDetails(array $gids): array { if (!($this instanceof IGroupDetailsBackend || $this->implementsActions(GroupInterface::GROUP_DETAILS))) { throw new \Exception('Should not have been called'); } /** @var IGroupDetailsBackend $this */ $groupData = []; foreach ($gids as $gid) { $groupData[$gid] = $this->getGroupDetails($gid); } return $groupData; } }