username = $username; $this->email = $email; $this->role = $role; } public function getUsername(): string { return $this->username; } public function getEmail(): string { return $this->email; } public function getRole(): string { return $this->role; } public function getProfileSummary(): string { return sprintf( "User %s (%s) — Vai trò: %s", htmlspecialchars($this->username), htmlspecialchars($this->email), htmlspecialchars($this->role) ); } }