public function getMulti(array $cacheid, $callback = null)
{
$retval = [];
foreach ($cacheid as $k => $c) {
try {
$retval[$k] = $this->get($c);
} catch (Exceptions\NotCachedException $e) {
// if there is a callback, call it
if ($callback) {
$retval[$k] = call_user_func($callback, $this, $c);
}
}
}
return $retval;
}