Expanded class hierarchy of UserInterface in Drupal 10
- interface \Drupal\Core\Entity\ContentEntityInterface extends \Drupal\Core\Entity\Traversable; interface \Drupal\Core\Entity\EntityChangedInterface; interface \Drupal\Core\Session\AccountInterface
- interface \Drupal\user\UserInterface