CustomPageExceptionHtmlSubscriberTest::$accessUnawareRouter

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

The mocked access unaware router.

Type: \Symfony\Component\Routing\Matcher\UrlMatcherInterface|\PHPUnit\Framework\MockObject\MockObject

File

core/tests/Drupal/Tests/Core/EventSubscriber/CustomPageExceptionHtmlSubscriberTest.php, line 74

Class

CustomPageExceptionHtmlSubscriberTest
@coversDefaultClass <a href="/api/drupal/core%21lib%21Drupal%21Core%21EventSubscriber%21CustomPageExceptionHtmlSubscriber.php/class/CustomPageExceptionHtmlSubscriber/11.x" title="Exception subscriber for handling core custom HTML error pages." class="local">\Drupal\Core\EventSubscriber\CustomPageExceptionHtmlSubscriber</a> @group EventSubscriber

Namespace

Drupal\Tests\Core\EventSubscriber

Code

protected $accessUnawareRouter;

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