TimeWithNoRequestTest::$time
Same name in other branches
- 10 core/tests/Drupal/Tests/Component/Datetime/TimeWithNoRequestTest.php \Drupal\Tests\Component\Datetime\TimeWithNoRequestTest::time
The time class for testing.
Type: time
File
-
core/
tests/ Drupal/ Tests/ Component/ Datetime/ TimeWithNoRequestTest.php, line 24
Class
- TimeWithNoRequestTest
- Tests that getRequest(Micro)Time works when no underlying request exists.
Namespace
Drupal\Tests\Component\DatetimeCode
protected Time $time;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.