You are here

protected property TestSetupTrait::$container in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Test/TestSetupTrait.php \Drupal\Core\Test\TestSetupTrait::container
  2. 9 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\Test

Code

protected $container;