@@ -44,11 +44,17 @@ |
||
44 | 44 | return $instance; |
45 | 45 | } |
46 | 46 | |
47 | + /** |
|
48 | + * @param string $realm |
|
49 | + */ |
|
47 | 50 | private static function retrieveOldInstance($realm) |
48 | 51 | { |
49 | 52 | return isset(self::$cachedInstances[$realm]) ? self::$cachedInstances[$realm] : false; |
50 | 53 | } |
51 | 54 | |
55 | + /** |
|
56 | + * @param string $realm |
|
57 | + */ |
|
52 | 58 | private static function newCacheInstance($realm) |
53 | 59 | { |
54 | 60 | if (self::$strategy === self::STRATEGY_REDIS) { |