[TOOLS][DOCS] Add missing doc blocks

This commit is contained in:
2021-11-25 23:16:04 +00:00
parent b1262919da
commit edf1b30e89
3 changed files with 16 additions and 0 deletions

View File

@@ -320,6 +320,11 @@ abstract class Cache
}
}
/**
* Fetch the value(s) for key $key in the hashmap identified by
* $map_key. If not found, use $calculate_map to calculate the
* _entire_ hashmap (not just those in $key)
*/
public static function getHashMapKey(string $map_key, string|array $key, callable $calculate_map, string $pool = 'default')
{
if (isset(self::$redis[$pool])) {