/** * Creates a new instance of a group. * * This is used because each implementation uses its own type of Group. * * @return IGroup */ public function getNewGroupInstance() { $groupClass = UMManager::getGroupClassName(); return new $groupClass(); }