public static function Memcache($host = '127.0.0.1', $port = 11211, $options = []) { return new CacheStorage(Storage\Memcache::getInstance($host, $port), $options); }
public function driverSet() { Cache::setConfig(realpath(__DIR__ . '/' . self::CONFIG)); return [[Cache::Memcache(self::MEMCACHE_IP)]]; }