class TestWithDispatcher

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php \Drupal\Tests\Component\EventDispatcher\TestWithDispatcher
  2. 10 core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php \Drupal\Tests\Component\EventDispatcher\TestWithDispatcher
  3. 11.x 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 560

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

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.