src/Transfer/EzPlatform/Repository/Manager/Sub/ContentTypeGroupSubManager.php
private function detachContentTypeGroupsByIdentifiers(ContentType $contentType, array $contentTypeGroupsIdentifiers)
    {
        $contentTypeGroups = $this->loadContentTypeGroupsByIdentifiers($contentTypeGroupsIdentifiers);
        foreach ($contentTypeGroups as $contentTypeGroup) {
            $this->contentTypeService->unassignContentTypeGroup($contentType, $contentTypeGroup);
        }
    }
private function detachContentTypeGroupsByIdentifiers(ContentType $contentType, array $contentTypeGroupsIdentifiers)
    {
        $contentTypeGroups = $this->loadContentTypeGroupsByIdentifiers($contentTypeGroupsIdentifiers);
        foreach ($contentTypeGroups as $contentTypeGroup) {
            $this->contentTypeService->unassignContentTypeGroup($contentType, $contentTypeGroup);
        }
    }
private function detachContentTypeGroupsByIdentifiers ( ContentType $ contentType , array $ contentTypeGroupsIdentifiers ) { $ contentTypeGroups = $ this -> loadContentTypeGroupsByIdentifiers ( $ contentTypeGroupsIdentifiers ) ; foreach ( $ contentTypeGroups as $ contentTypeGroup ) { $ this -> contentTypeService -> unassignContentTypeGroup ( $ contentType , $ contentTypeGroup ) ; } }
Load contenttype groups, and unassign them from a contenttype.

@param ContentType $contentType
@param array       $contentTypeGroupsIdentifiers

@throws NotFoundException
Load contenttype groups and unassign them from a contenttype .