RedirectResponseSubscriberTest::$requestContext
Same name and namespace in other branches
- 8.9.x core/tests/Drupal/Tests/Core/EventSubscriber/RedirectResponseSubscriberTest.php \Drupal\Tests\Core\EventSubscriber\RedirectResponseSubscriberTest::requestContext
- 10 core/tests/Drupal/Tests/Core/EventSubscriber/RedirectResponseSubscriberTest.php \Drupal\Tests\Core\EventSubscriber\RedirectResponseSubscriberTest::requestContext
- 11.x core/tests/Drupal/Tests/Core/EventSubscriber/RedirectResponseSubscriberTest.php \Drupal\Tests\Core\EventSubscriber\RedirectResponseSubscriberTest::requestContext
The mocked request context.
Type: \Drupal\Core\Routing\RequestContext|\PHPUnit\Framework\MockObject\MockObject
File
-
core/
tests/ Drupal/ Tests/ Core/ EventSubscriber/ RedirectResponseSubscriberTest.php, line 28
Class
- RedirectResponseSubscriberTest
- @coversDefaultClass <a href="/api/drupal/core%21lib%21Drupal%21Core%21EventSubscriber%21RedirectResponseSubscriber.php/class/RedirectResponseSubscriber/9" title="Allows manipulation of the response object when performing a redirect." class="local">\Drupal\Core\EventSubscriber\RedirectResponseSubscriber</a> @group EventSubscriber
Namespace
Drupal\Tests\Core\EventSubscriberCode
protected $requestContext;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.