namespace Drupal\Component\DependencyInjection

Same name in other branches
  1. 11.x Drupal\Component\DependencyInjection
  2. 8.9.x Drupal\Component\DependencyInjection
  3. 10 Drupal\Component\DependencyInjection
Object name File name Summary
Container core/lib/Drupal/Component/DependencyInjection/Container.php Provides a container optimized for Drupal's needs.
ContainerInterface core/lib/Drupal/Component/DependencyInjection/ContainerInterface.php The interface for Drupal service container classes.
PhpArrayContainer core/lib/Drupal/Component/DependencyInjection/PhpArrayContainer.php Provides a container optimized for Drupal's needs.
ReverseContainer core/lib/Drupal/Component/DependencyInjection/ReverseContainer.php Retrieves service IDs from the container for public services.
ServiceIdHashTrait core/lib/Drupal/Component/DependencyInjection/ServiceIdHashTrait.php A trait for service id hashing implementations.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.