use wcf\data\object\type\ObjectType;
use wcf\data\object\type\ObjectTypeCache;
use wcf\data\user\User;
+use wcf\system\cache\runtime\UserRuntimeCache;
use wcf\system\WCF;
/**
return ObjectTypeCache::getInstance()->getObjectType($this->row['objectTypeID']);
}
+ /**
+ * Returns the user.
+ */
+ public function getUser(): User {
+ return UserRuntimeCache::getInstance()->getObject($this->row['userID']);
+ }
+
/**
* Locks the database record for this setup, preventing concurrent changes, and returns itself.
*/