code: public function getHashCode()
      {
          if ($this->isSupervisor) {
              return $this->getSharedComponent()->getHashCode();
          }
  
          return md5(
              $this->name .
              $this->size .
              ($this->bold ? 't' : 'f') .
              ($this->italic ? 't' : 'f') .
              ($this->superscript ? 't' : 'f') .
              ($this->subscript ? 't' : 'f') .
              $this->underline .
              ($this->strikethrough ? 't' : 'f') .
              $this->color->getHashCode() .
              __CLASS__
          );
      }
docs: Get hash code.
  
  @return string Hash code