TestSetupTrait::$privateContainer

Stores the container in case it is set before available with \Drupal.

Type: privateContainer

See also

\Drupal::getContainer()

File

core/lib/Drupal/Core/Test/TestSetupTrait.php, line 36

Class

TestSetupTrait
Provides a trait for shared test setup functionality.

Namespace

Drupal\Core\Test

Code

private ?ContainerInterface $privateContainer = NULL;

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