MockContainerAware::$container

Same name in this branch
  1. 10 core/tests/Drupal/Tests/Core/Utility/CallableResolverTest.php \Drupal\Tests\Core\Utility\MockContainerAware::container

The service container.

Type: container

File

core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php, line 240

Class

MockContainerAware

Namespace

Drupal\Tests\Core\Controller

Code

protected ContainerInterface $container;

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