public function TimestampInvalidatorInterface::getCurrentTimestamp in Memcache API and Integration 8.2
Get the current timestamp, optionally offset by a number.
The standard granularity of the resulting timestamp is three decimal places, (1 millisecond).
Parameters
float $offset: Offset to apply to timestamp before rounding.
Return value
float Current timestamp in decimal seconds.
1 method overrides TimestampInvalidatorInterface::getCurrentTimestamp()
- TimestampInvalidatorBase::getCurrentTimestamp in src/
Invalidator/ TimestampInvalidatorBase.php - Get the current timestamp, optionally offset by a number.
File
- src/
Invalidator/ TimestampInvalidatorInterface.php, line 59
Class
- TimestampInvalidatorInterface
- Interface TimestampInvalidatorInterface.
Namespace
Drupal\memcache\InvalidatorCode
public function getCurrentTimestamp($offset = 0.0);