EntityResolverManagerTest::$container

Same name and namespace in other branches
  1. 8.9.x core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php \Drupal\Tests\Core\Entity\EntityResolverManagerTest::container
  2. 10 core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php \Drupal\Tests\Core\Entity\EntityResolverManagerTest::container
  3. 11.x core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php \Drupal\Tests\Core\Entity\EntityResolverManagerTest::container

The mocked dependency injection container.

Type: \Symfony\Component\DependencyInjection\ContainerInterface|\PHPUnit\Framework\MockObject\MockObject

File

core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php, line 51

Class

EntityResolverManagerTest
@coversDefaultClass <a href="/api/drupal/core%21lib%21Drupal%21Core%21Entity%21EntityResolverManager.php/class/EntityResolverManager/9" title="Sets the entity route parameter converter options automatically." class="local">\Drupal\Core\Entity\EntityResolverManager</a> @group Entity

Namespace

Drupal\Tests\Core\Entity

Code

protected $container;

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