protected function getConfig() { $dataClass = new AbTestingData(); $memcKey = $this->getMemcKey(); // $data = $this->wg->memc->get($memcKey); if (empty($data)) { $data = array('modifiedTime' => $this->getTimestampForUTCDate($dataClass->getModifiedTime()), 'script' => $this->generateConfigScript($dataClass->getCurrent())); $this->wg->memc->set($memcKey, $data, self::CACHE_TTL); } return $data; }