aboutsummaryrefslogtreecommitdiff
path: root/lib/CacheFactory.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CacheFactory.php')
-rw-r--r--lib/CacheFactory.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CacheFactory.php b/lib/CacheFactory.php
index df78d9cb..90aa21ba 100644
--- a/lib/CacheFactory.php
+++ b/lib/CacheFactory.php
@@ -37,6 +37,7 @@ class CacheFactory
if ($index === false) {
throw new \InvalidArgumentException(sprintf('Invalid cache name: "%s"', $name));
}
+
$className = $cacheNames[$index] . 'Cache';
if (!preg_match('/^[A-Z][a-zA-Z0-9-]*$/', $className)) {
throw new \InvalidArgumentException(sprintf('Invalid cache classname: "%s"', $className));