class TestWithDispatcher
Same name in other branches
- 8.9.x core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php \Drupal\Tests\Component\EventDispatcher\TestWithDispatcher
- 10 core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php \Drupal\Tests\Component\EventDispatcher\TestWithDispatcher
- 11.x core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php \Drupal\Tests\Component\EventDispatcher\TestWithDispatcher
Hierarchy
- class \Drupal\Tests\Component\EventDispatcher\TestWithDispatcher
Expanded class hierarchy of TestWithDispatcher
File
-
core/
tests/ Drupal/ Tests/ Component/ EventDispatcher/ ContainerAwareEventDispatcherTest.php, line 616
Namespace
Drupal\Tests\Component\EventDispatcherView source
class TestWithDispatcher {
public $name;
public $dispatcher;
public function foo(Event $e, $name, $dispatcher) {
$this->name = $name;
$this->dispatcher = $dispatcher;
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
TestWithDispatcher::$dispatcher | public | property | |
TestWithDispatcher::$name | public | property | |
TestWithDispatcher::foo | public | function |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.