return self::newFromId( $id );
}
- /**
- * Factory function that creates a memcached client object.
- *
- * This always uses the PHP client, since the PECL client has a different
- * hashing scheme and a different interpretation of the flags bitfield, so
- * switching between the two clients randomly would be disastrous.
- *
- * @param array $params
- * @return MemcachedPhpBagOStuff
- */
- public static function newMemcached( $params ) {
- return new MemcachedPhpBagOStuff( $params );
- }
-
/**
* Create a new cache object of the specified type.
*