public static function toGroupOwnerData(Group $group) { return ['id' => $group->getId(), 'type' => $group->getType(), 'group_type' => $group->getGroupType(), 'official_title' => $group->getOfficialName(), 'avatar_file_path' => $group->getAvatarFileName()]; }
public function getType() { $this->__load(); return parent::getType(); }