$value = $this->context->get($key);
if ($value === false) {
if (is_null($callback)) {
- throw new PlNotFoundInCacheException($key);
+ throw new PlNotFoundInCacheException($key, $type);
}
$value = call_user_func_array($callback, $cbargs);
$this->set($key, $type, $value, $expire);
}
}
-// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8:
+// vim:set et sw=4 sts=4 sws=4 foldmethod=marker fenc=utf-8:
?>