TimeTest::$time
Same name in other branches
- 8.9.x core/tests/Drupal/Tests/Component/Datetime/TimeTest.php \Drupal\Tests\Component\Datetime\TimeTest::time
- 10 core/tests/Drupal/Tests/Component/Datetime/TimeTest.php \Drupal\Tests\Component\Datetime\TimeTest::time
- 11.x core/tests/Drupal/Tests/Component/Datetime/TimeTest.php \Drupal\Tests\Component\Datetime\TimeTest::time
The mocked time class.
Type: \Drupal\Component\Datetime\Time
File
-
core/
tests/ Drupal/ Tests/ Component/ Datetime/ TimeTest.php, line 32
Class
- TimeTest
- @coversDefaultClass \Drupal\Component\Datetime\Time @group Datetime
Namespace
Drupal\Tests\Component\DatetimeCode
protected $time;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.