Expanded class hierarchy of TranslatableMarkup in Drupal 8
- class \Drupal\Component\Render\FormattableMarkup implements \Drupal\Component\Render\Countable, MarkupInterface
- class \Drupal\Core\StringTranslation\TranslatableMarkup uses ToStringTrait
- class \Drupal\Core\StringTranslation\PluralTranslatableMarkup
- class \Drupal\Core\StringTranslation\TranslationWrapper
- class \Drupal\micon\MiconIconize
- class \Drupal\Core\StringTranslation\TranslatableMarkup uses ToStringTrait