TimeTest::$requestStack
Same name and namespace in other branches
- 9 core/tests/Drupal/Tests/Component/Datetime/TimeTest.php \Drupal\Tests\Component\Datetime\TimeTest::requestStack
- 10 core/tests/Drupal/Tests/Component/Datetime/TimeTest.php \Drupal\Tests\Component\Datetime\TimeTest::requestStack
- 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 25
Class
- TimeTest
- @coversDefaultClass <a href="/api/drupal/core%21lib%21Drupal%21Component%21Datetime%21Time.php/class/Time/8.9.x" title="Provides a class for obtaining system time." class="local">\Drupal\Component\Datetime\Time</a> @group Datetime
Namespace
Drupal\Tests\Component\DatetimeCode
protected $requestStack;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.