Fusio

API / $cache.getMultiple

Obtains multiple cache items by their unique keys. MUST be thrown if $keys is neither an array nor a Traversable, or if any of the $keys are not a legal value.

Arguments
Name Type Description
$keys iterable A list of keys that can obtained in a single operation.
$default mixed Default value to return for keys that do not exist.
Return
Type Description
iterable A list of key => value pairs. Cache keys that do not exist or are stale will have $default as value.