class TestWithDispatcher in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php \Drupal\Tests\Component\EventDispatcher\TestWithDispatcher
- 9 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 574
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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TestWithDispatcher:: |
public | property | ||
TestWithDispatcher:: |
public | property | ||
TestWithDispatcher:: |
public | function |