README.txt

Drupal Components are independent libraries that do not depend on the rest of
Drupal in order to function.  Components MAY depend on other Components, but
that is discouraged. Components MAY NOT depend on any code that is not part of
PHP itself or another Drupal Component.

Each Component should be in its own namespace, and should be as self-contained
as possible.  It should be possible to split a Component off to its own
repository and use as a stand-alone library, independently of Drupal.

File

drupal/core/lib/Drupal/Component/README.txt
View source
  1. Drupal Components are independent libraries that do not depend on the rest of
  2. Drupal in order to function. Components MAY depend on other Components, but
  3. that is discouraged. Components MAY NOT depend on any code that is not part of
  4. PHP itself or another Drupal Component.
  5. Each Component should be in its own namespace, and should be as self-contained
  6. as possible. It should be possible to split a Component off to its own
  7. repository and use as a stand-alone library, independently of Drupal.