WordPress\AiClientDependencies\Psr\SimpleCache

CacheInterface::getMultiplepublicWP 1.0

Obtains multiple cache items by their unique keys.

Method of the class: CacheInterface{}

No Hooks.

Returns

iterable. A list of key => value pairs. Cache keys that do not exist or are stale will have $default as value.

Usage

$CacheInterface = new CacheInterface();
$CacheInterface->getMultiple( $keys, $default );
$keys(iterable) (required)
A list of keys that can obtained in a single operation.
$default(mixed)
Default value to return for keys that do not exist.
Default: null

CacheInterface::getMultiple() code WP 7.0

public function getMultiple($keys, $default = null);