RouteBuilderTest::$dispatcher

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php \Drupal\Tests\Core\Routing\RouteBuilderTest::dispatcher
  2. 8.9.x core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php \Drupal\Tests\Core\Routing\RouteBuilderTest::dispatcher
  3. 10 core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php \Drupal\Tests\Core\Routing\RouteBuilderTest::dispatcher

The mocked event dispatcher.

Type: \Symfony\Contracts\EventDispatcher\EventDispatcherInterface|\Prophecy\Prophecy\ObjectProphecy

File

core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php, line 50

Class

RouteBuilderTest
@coversDefaultClass <a href="/api/drupal/core%21lib%21Drupal%21Core%21Routing%21RouteBuilder.php/class/RouteBuilder/11.x" title="Managing class for rebuilding the router table." class="local">\Drupal\Core\Routing\RouteBuilder</a> @group Routing

Namespace

Drupal\Tests\Core\Routing

Code

protected $dispatcher;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.