protected property ContainerMockTrait::$container in Drupal 7 to 8/9 Module Upgrader 8
Type: \Symfony\Component\DependencyInjection\ContainerInterface
File
- tests/
src/ Unit/ ContainerMockTrait.php, line 16
Class
- ContainerMockTrait
- A trait for tests that need a mock container; contains (deprecated) methods to mock basic translation and logging services as well.
Namespace
Drupal\Tests\drupalmoduleupgrader\UnitCode
protected $container;