public static function MemcacheServerStatsSubscriber::getSubscribedEvents in Memcache API and Integration 8.2
File
- memcache_admin/
src/ EventSubscriber/ MemcacheServerStatsSubscriber.php, line 22
Class
- MemcacheServerStatsSubscriber
- Adds memcache server specific details to the stats array.
Namespace
Drupal\memcache_admin\EventSubscriberCode
public static function getSubscribedEvents() {
$events[MemcacheStatsEvent::BUILD_MEMCACHE_STATS][] = [
'onPopulateStats',
100,
];
$events[MemcacheStatsEvent::REPORT_MEMCACHE_STATS][] = [
'onReportStats',
100,
];
return $events;
}