function time in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Component/Datetime/TimeTest.php \Drupal\Tests\Component\Datetime\time()
 - 10 core/tests/Drupal/Tests/Component/Datetime/TimeTest.php \Drupal\Tests\Component\Datetime\time()
 
Shadow time() system call.
@returns int
19 string references to 'time'
- CacheTest::testCacheData in core/
modules/ views/ tests/ src/ Kernel/ Plugin/ CacheTest.php  - Tests the data contained in cached items.
 - CacheTest::testHeaderStorage in core/
modules/ views/ tests/ src/ Kernel/ Plugin/ CacheTest.php  - Tests css/js storage and restoring mechanism.
 - CacheTest::testTimeResultCaching in core/
modules/ views/ tests/ src/ Kernel/ Plugin/ CacheTest.php  - Tests time based caching.
 - CacheTest::testTimeResultCachingWithFilter in core/
modules/ views/ tests/ src/ Kernel/ Plugin/ CacheTest.php  - Tests result caching with filters.
 - CacheTest::testTimeResultCachingWithPager in core/
modules/ views/ tests/ src/ Kernel/ Plugin/ CacheTest.php  - Tests result caching with a pager.
 
File
- core/
tests/ Drupal/ Tests/ Component/ Datetime/ TimeTest.php, line 133  
Namespace
Drupal\Tests\Component\DatetimeCode
function time() {
  return 12345678;
}