get('systemUserId'); if ($id) { $this->id = $id; return; } $isUuid = $metadata->get(['app', 'recordId', 'dbType']) === 'uuid'; $this->id = $isUuid ? self::UUID : self::ID; } /** * Get a system user ID. */ public function getId(): string { return $this->id; } }