generateId() generateId(string $seed = '') : string Generates a connection id and returns it. Parameters string $seed A unique ID to be included in the token. Returns string — The generated id string.