generalObjectType; return $this->wordpress->getRoles()->role_names[$objectId] ?? $objectId; } public function isMember( AbstractUserGroup $userGroup, bool $lockRecursive, int|string|null $objectId, ?AssignmentInformation &$assignmentInformation = null ): bool { $isMember = $userGroup->isObjectAssignedToGroup( $this->generalObjectType, $objectId, $assignmentInformation ); if ($isMember === false) { $assignmentInformation = null; } return $isMember; } public function getFullObjects(AbstractUserGroup $userGroup, bool $lockRecursive, ?string $objectType = null): array { return $this->getSimpleAssignedObjects($userGroup, $objectType ?? $this->generalObjectType); } }