You are here

public function TestWithDispatcher::foo in Drupal 8

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php \Drupal\Tests\Component\EventDispatcher\TestWithDispatcher::foo()

File

core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php, line 565

Class

TestWithDispatcher

Namespace

Drupal\Tests\Component\EventDispatcher

Code

public function foo(Event $e, $name, $dispatcher) {
  $this->name = $name;
  $this->dispatcher = $dispatcher;
}