You are here

protected function ContainerAwareEventDispatcherTest::createEventDispatcher in Zircon Profile 8.0

Same name in this branch
  1. 8.0 vendor/symfony/event-dispatcher/Tests/ContainerAwareEventDispatcherTest.php \Symfony\Component\EventDispatcher\Tests\ContainerAwareEventDispatcherTest::createEventDispatcher()
  2. 8.0 core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php \Drupal\Tests\Component\EventDispatcher\ContainerAwareEventDispatcherTest::createEventDispatcher()
Same name and namespace in other branches
  1. 8 vendor/symfony/event-dispatcher/Tests/ContainerAwareEventDispatcherTest.php \Symfony\Component\EventDispatcher\Tests\ContainerAwareEventDispatcherTest::createEventDispatcher()

Overrides AbstractEventDispatcherTest::createEventDispatcher

File

vendor/symfony/event-dispatcher/Tests/ContainerAwareEventDispatcherTest.php, line 22

Class

ContainerAwareEventDispatcherTest

Namespace

Symfony\Component\EventDispatcher\Tests

Code

protected function createEventDispatcher() {
  $container = new Container();
  return new ContainerAwareEventDispatcher($container);
}