protected function ContainerAwareEventDispatcherTest::createEventDispatcher in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php \Drupal\Tests\Component\EventDispatcher\ContainerAwareEventDispatcherTest::createEventDispatcher()
- 9 core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php \Drupal\Tests\Component\EventDispatcher\ContainerAwareEventDispatcherTest::createEventDispatcher()
2 calls to ContainerAwareEventDispatcherTest::createEventDispatcher()
- ContainerAwareEventDispatcherTest::setUp in core/
tests/ Drupal/ Tests/ Component/ EventDispatcher/ ContainerAwareEventDispatcherTest.php - ContainerAwareEventDispatcherTest::testWorkaroundForPhpBug62976 in core/
tests/ Drupal/ Tests/ Component/ EventDispatcher/ ContainerAwareEventDispatcherTest.php - This bug affects:
File
- core/
tests/ Drupal/ Tests/ Component/ EventDispatcher/ ContainerAwareEventDispatcherTest.php, line 53
Class
- ContainerAwareEventDispatcherTest
- Unit tests for the ContainerAwareEventDispatcher.
Namespace
Drupal\Tests\Component\EventDispatcherCode
protected function createEventDispatcher() {
$container = new Container();
return new ContainerAwareEventDispatcher($container);
}