TestSetupTrait::$container
Same name in other branches
- 9 core/lib/Drupal/Core/Test/TestSetupTrait.php \Drupal\Core\Test\TestSetupTrait::container
- 8.9.x core/lib/Drupal/Core/Test/TestSetupTrait.php \Drupal\Core\Test\TestSetupTrait::container
- 11.x core/lib/Drupal/Core/Test/TestSetupTrait.php \Drupal\Core\Test\TestSetupTrait::container
The dependency injection container used in the test.
Type: \Symfony\Component\DependencyInjection\ContainerInterface
File
-
core/
lib/ Drupal/ Core/ Test/ TestSetupTrait.php, line 33
Class
- TestSetupTrait
- Provides a trait for shared test setup functionality.
Namespace
Drupal\Core\TestCode
protected $container;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.