function PhpArrayContainerTest::setUp
Same name in other branches
- 9 core/tests/Drupal/Tests/Component/DependencyInjection/PhpArrayContainerTest.php \Drupal\Tests\Component\DependencyInjection\PhpArrayContainerTest::setUp()
- 10 core/tests/Drupal/Tests/Component/DependencyInjection/PhpArrayContainerTest.php \Drupal\Tests\Component\DependencyInjection\PhpArrayContainerTest::setUp()
- 11.x core/tests/Drupal/Tests/Component/DependencyInjection/PhpArrayContainerTest.php \Drupal\Tests\Component\DependencyInjection\PhpArrayContainerTest::setUp()
Overrides ContainerTest::setUp
File
-
core/
tests/ Drupal/ Tests/ Component/ DependencyInjection/ PhpArrayContainerTest.php, line 16
Class
- PhpArrayContainerTest
- @coversDefaultClass \Drupal\Component\DependencyInjection\PhpArrayContainer @group DependencyInjection
Namespace
Drupal\Tests\Component\DependencyInjectionCode
protected function setUp() {
$this->machineFormat = FALSE;
$this->containerClass = '\\Drupal\\Component\\DependencyInjection\\PhpArrayContainer';
$this->containerDefinition = $this->getMockContainerDefinition();
$this->container = new $this->containerClass($this->containerDefinition);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.