public function ContainerAwarePluginManagerTest::setUp in Service Container 7.2
Same name and namespace in other branches
- 7 tests/src/Plugin/ContainerAwarePluginManagerTest.php \Drupal\Tests\service_container\Plugin\ContainerAwarePluginManagerTest::setUp()
File
- tests/
src/ Plugin/ ContainerAwarePluginManagerTest.php, line 25 - Contains \Drupal\Tests\service_container\Plugin\ContainerAwarePluginManagerTest
Class
- ContainerAwarePluginManagerTest
- @coversDefaultClass \Drupal\service_container\Plugin\ContainerAwarePluginManager @group dic
Namespace
Drupal\Tests\service_container\PluginCode
public function setUp() {
$this->containerDefinition = $this
->getContainerDefinition();
$this->container = new Container($this->containerDefinition);
$this->controllerPluginManager = $this->container
->get('service_container.controller');
}