ITextElement.php 559 B

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. namespace PhpOffice\PhpSpreadsheet\RichText;
  3. interface ITextElement
  4. {
  5. /**
  6. * Get text.
  7. *
  8. * @return string Text
  9. */
  10. public function getText();
  11. /**
  12. * Set text.
  13. *
  14. * @param $text string Text
  15. *
  16. * @return ITextElement
  17. */
  18. public function setText($text);
  19. /**
  20. * Get font.
  21. *
  22. * @return \PhpOffice\PhpSpreadsheet\Style\Font
  23. */
  24. public function getFont();
  25. /**
  26. * Get hash code.
  27. *
  28. * @return string Hash code
  29. */
  30. public function getHashCode();
  31. }