Пример #1
0
 protected function setupCache($enabled)
 {
     if ($enabled) {
         $this->filelib->createCacheFromAdapter(new MemcachedCacheAdapter($this->memcached));
     }
 }