Namespaces in Drupal 10
Primary tabs
Introduction to namespaces
PHP classes, interfaces, and traits in Drupal are namespaced. See the Objected-oriented programming conventions for more information.
See also
Objected-oriented programming conventions