TimeWithNoRequestTest::$time

The time class for testing.

Type: time

File

core/tests/Drupal/Tests/Component/Datetime/TimeWithNoRequestTest.php, line 23

Class

TimeWithNoRequestTest
Tests that getRequest(Micro)Time works when no underlying request exists.

Namespace

Drupal\Tests\Component\Datetime

Code

protected Time $time;

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