function Time::getProxyRequestMicroTime
Same name in other branches
- 10 core/lib/Drupal/Component/Datetime/Time.php \Drupal\Component\Datetime\Time::getProxyRequestMicroTime()
Returns a mimic of the timestamp of the current request.
Return value
float A value returned by microtime().
1 call to Time::getProxyRequestMicroTime()
- Time::getRequestMicroTime in core/
lib/ Drupal/ Component/ Datetime/ Time.php
File
-
core/
lib/ Drupal/ Component/ Datetime/ Time.php, line 97
Class
- Time
- Provides a class for obtaining system time.
Namespace
Drupal\Component\DatetimeCode
protected function getProxyRequestMicroTime() : float {
if (!isset($this->proxyRequestTime)) {
$this->proxyRequestTime = $this->getCurrentMicroTime();
}
return $this->proxyRequestTime;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.