You are here

class TestWithDispatcher in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php \Drupal\Tests\Component\EventDispatcher\TestWithDispatcher
  2. 9 core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php \Drupal\Tests\Component\EventDispatcher\TestWithDispatcher

Hierarchy

Expanded class hierarchy of TestWithDispatcher

File

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

Namespace

Drupal\Tests\Component\EventDispatcher
View source
class TestWithDispatcher {
  public $name;
  public $dispatcher;
  public function foo(Event $e, $name, $dispatcher) {
    $this->name = $name;
    $this->dispatcher = $dispatcher;
  }

}

Members