namespace Drupal\Tests\Component\DependencyInjection

Same name in other branches
  1. 9 Drupal\Tests\Component\DependencyInjection
  2. 8.9.x Drupal\Tests\Component\DependencyInjection
  3. 11.x Drupal\Tests\Component\DependencyInjection
Object name File name Summary
ContainerTest core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php @coversDefaultClass \Drupal\Component\DependencyInjection\Container
@group DependencyInjection
MockConfiguratorInterface core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Helper interface to test Container::get() with configurator.
MockInstantiationService core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Helper class to test Container::get() method for varying number of parameters.
MockService core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Helper class to test Container::get() method.
PhpArrayContainerTest core/tests/Drupal/Tests/Component/DependencyInjection/PhpArrayContainerTest.php @coversDefaultClass \Drupal\Component\DependencyInjection\PhpArrayContainer
@group DependencyInjection
ReverseContainerTest core/tests/Drupal/Tests/Component/DependencyInjection/ReverseContainerTest.php @runTestsInSeparateProcesses
The reverse container uses a static to maintain information across
container rebuilds.

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