Answer the question
In order to leave comments, you need to log in
How to access a method in another class and namespace?
It is required to access the getStorage function which returns the cache of the current user
https://github.com/nextcloud/server/blob/master/li... tell me
how to correctly access this method
namespace OC\Cache;
use OC\Files\Filesystem;
$userStorage = \OC::$Files->get_storage();
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question