diff options
Diffstat (limited to 'core/Cache.php')
-rw-r--r-- | core/Cache.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/core/Cache.php b/core/Cache.php index dc6d87b8d8..2ced0cb23e 100644 --- a/core/Cache.php +++ b/core/Cache.php @@ -19,22 +19,22 @@ class Cache * an entry from the cache it will fetch the entry. Cache entries might be persisted but not necessarily. It * depends on the configured backend. * - * @return Cache\Lazy + * @return \Matomo\Cache\Lazy */ public static function getLazyCache() { - return StaticContainer::get('Piwik\Cache\Lazy'); + return StaticContainer::get('Matomo\Cache\Lazy'); } /** * This class is used to cache any data during one request. It won't be persisted between requests and it can * cache all kind of data, even objects or resources. This cache is very fast. * - * @return Cache\Transient + * @return \Matomo\Cache\Transient */ public static function getTransientCache() { - return StaticContainer::get('Piwik\Cache\Transient'); + return StaticContainer::get('Matomo\Cache\Transient'); } /** @@ -48,11 +48,11 @@ class Cache * All cache entries it contains have the same life time. For fast performance it won't validate any cache ids. * It is not possible to cache any objects using this cache. * - * @return Cache\Eager + * @return \Matomo\Cache\Eager */ public static function getEagerCache() { - return StaticContainer::get('Piwik\Cache\Eager'); + return StaticContainer::get('Matomo\Cache\Eager'); } public static function flushAll() @@ -64,11 +64,11 @@ class Cache /** * @param $type - * @return Cache\Backend + * @return \Matomo\Cache\Backend */ public static function buildBackend($type) { - $factory = new Cache\Backend\Factory(); + $factory = new \Matomo\Cache\Backend\Factory(); $options = self::getOptions($type); $backend = $factory->buildBackend($type, $options); |