TimeTest::$requestStack

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Component/Datetime/TimeTest.php \Drupal\Tests\Component\Datetime\TimeTest::requestStack
  2. 8.9.x core/tests/Drupal/Tests/Component/Datetime/TimeTest.php \Drupal\Tests\Component\Datetime\TimeTest::requestStack
  3. 11.x core/tests/Drupal/Tests/Component/Datetime/TimeTest.php \Drupal\Tests\Component\Datetime\TimeTest::requestStack

The mocked request stack.

Type: \Symfony\Component\HttpFoundation\RequestStack|\PHPUnit\Framework\MockObject\MockObject

File

core/tests/Drupal/Tests/Component/Datetime/TimeTest.php, line 27

Class

TimeTest
@coversDefaultClass \Drupal\Component\Datetime\Time @group Datetime

Namespace

Drupal\Tests\Component\Datetime

Code

protected $requestStack;

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