/**
 * A subject class is used for register by observer
 */
export class StaticSubject {
  /**
   * It takes a subject title and returns a SubjectTitle object
   *
   * @param {SubjectTitle} title - The title of the subject.
   */
  constructor(title) {
    this.title = title;
  }
  /**
   * Get the title of the subject
   *
   * @returns {string} The title of the subject.
   */
  getDescription() {
    return this.title;
  }
}
