I'd refactor this loop to a private method: `public function getContentTypeList()`. Also, why create a `$contentTypeGroups` property if you don't use it ?