public function McrouterStatsObject::getServerTime in Memcache API and Integration 8.2
@inheritDoc
Overrides MemcacheStatsObject::getServerTime
File
- memcache_admin/
src/ Stats/ McrouterStatsObject.php, line 35
Class
- McrouterStatsObject
- Class MemcacheStats.
Namespace
Drupal\memcache_admin\StatsCode
public function getServerTime() : string {
return isset($this->stats['time']) ? \Drupal::service('date.formatter')
->format($this->stats['time']) : self::NA;
}