mirror of
https://github.com/predis/predis.git
synced 2026-09-13 03:47:03 +00:00
Add static method Predis\RedisServerProfile::getDevelopment() to create a new instance of the 'dev' server profile.
This commit is contained in:
@@ -1336,6 +1336,10 @@ abstract class RedisServerProfile {
|
||||
return self::get('default');
|
||||
}
|
||||
|
||||
public static function getDevelopment() {
|
||||
return self::get('dev');
|
||||
}
|
||||
|
||||
private static function predisServerProfiles() {
|
||||
return array(
|
||||
'1.2' => '\Predis\RedisServer_v1_2',
|
||||
|
||||
Reference in New Issue
Block a user