public function MemcacheStatsEvent::getFormattedStats in Memcache API and Integration 8.2
Gets the stats formatted from a MemcacheStatsInterface.
Parameters
$server_type:
Return value
array|mixed
File
- memcache_admin/
src/ Event/ MemcacheStatsEvent.php, line 108
Class
- MemcacheStatsEvent
- Memcache Stats Event
Namespace
Drupal\memcache_admin\EventCode
public function getFormattedStats($server_type) {
if (isset($this->formattedStats[$server_type])) {
return $this->formattedStats[$server_type];
}
return [];
}