aboutsummaryrefslogtreecommitdiffstats
path: root/lib/autoloader.php
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-01-19 23:30:34 +0100
committerCarl Schwan <carl@carlschwan.eu>2022-04-04 10:28:26 +0200
commit7d272c54d013538746d6731097ec37f360effb5d (patch)
treed754c4184926ea8011bd2b0fe276adebaf4082f6 /lib/autoloader.php
parentcf4c77e064fd52d891bc842d78431cceb2f34952 (diff)
downloadnextcloud-server-7d272c54d013538746d6731097ec37f360effb5d.tar.gz
nextcloud-server-7d272c54d013538746d6731097ec37f360effb5d.zip
Add a built-in profiler inside Nextcloud
The webui is provided by a seperate application named profiler Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'lib/autoloader.php')
-rw-r--r--lib/autoloader.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/autoloader.php b/lib/autoloader.php
index c8eebee3e0c..a29b9aece79 100644
--- a/lib/autoloader.php
+++ b/lib/autoloader.php
@@ -38,6 +38,7 @@ namespace OC;
use \OCP\AutoloadNotAllowedException;
use OCP\ILogger;
+use OCP\ICache;
class Autoloader {
/** @var bool */
@@ -182,9 +183,9 @@ class Autoloader {
/**
* Sets the optional low-latency cache for class to path mapping.
*
- * @param \OC\Memcache\Cache $memoryCache Instance of memory cache.
+ * @param ICache $memoryCache Instance of memory cache.
*/
- public function setMemoryCache(\OC\Memcache\Cache $memoryCache = null): void {
+ public function setMemoryCache(ICache $memoryCache = null): void {
$this->memoryCache = $memoryCache;
}
}