summaryrefslogtreecommitdiffstats
path: root/lib/private/cache/fileglobal.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/cache/fileglobal.php')
-rw-r--r--lib/private/cache/fileglobal.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/private/cache/fileglobal.php b/lib/private/cache/fileglobal.php
index bd049bba4d0..cdf2a11da3c 100644
--- a/lib/private/cache/fileglobal.php
+++ b/lib/private/cache/fileglobal.php
@@ -21,6 +21,9 @@ class FileGlobal {
return str_replace('/', '_', $key);
}
+ /**
+ * @param string $key
+ */
public function get($key) {
$key = $this->fixKey($key);
if ($this->hasKey($key)) {
@@ -30,6 +33,10 @@ class FileGlobal {
return null;
}
+ /**
+ * @param string $key
+ * @param string $value
+ */
public function set($key, $value, $ttl=0) {
$key = $this->fixKey($key);
$cache_dir = self::getCacheDir();