aboutsummaryrefslogtreecommitdiff
path: root/engine/classes/ElggSharedMemoryCache.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/classes/ElggSharedMemoryCache.php')
-rw-r--r--engine/classes/ElggSharedMemoryCache.php12
1 files changed, 9 insertions, 3 deletions
diff --git a/engine/classes/ElggSharedMemoryCache.php b/engine/classes/ElggSharedMemoryCache.php
index 82c9c571a..f5f11d2c7 100644
--- a/engine/classes/ElggSharedMemoryCache.php
+++ b/engine/classes/ElggSharedMemoryCache.php
@@ -1,7 +1,11 @@
<?php
/**
* Shared memory cache description.
- * Extends ElggCache with functions useful to shared memory style caches (static variables, memcache etc)
+ * Extends ElggCache with functions useful to shared memory
+ * style caches (static variables, memcache etc)
+ *
+ * @package Elgg.Core
+ * @subpackage Cache
*/
abstract class ElggSharedMemoryCache extends ElggCache {
/**
@@ -17,7 +21,9 @@ abstract class ElggSharedMemoryCache extends ElggCache {
* This is useful for cache types (like memcache or static variables) where there is one large
* flat area of memory shared across all instances of the cache.
*
- * @param string $namespace
+ * @param string $namespace Namespace for cache
+ *
+ * @return void
*/
public function setNamespace($namespace = "default") {
$this->namespace = $namespace;
@@ -31,4 +37,4 @@ abstract class ElggSharedMemoryCache extends ElggCache {
public function getNamespace() {
return $this->namespace;
}
-} \ No newline at end of file
+}