getRealFolder(); if (!$folder instanceof IRootFolder) { throw new \Exception('Lazy root folder closure didn\'t return a root folder'); } return $folder; } public function getUserFolder($userId) { return $this->__call(__FUNCTION__, func_get_args()); } public function getByIdInPath(int $id, string $path) { return $this->__call(__FUNCTION__, func_get_args()); } public function getFirstNodeByIdInPath(int $id, string $path): ?Node { return $this->__call(__FUNCTION__, func_get_args()); } public function getNodeFromCacheEntryAndMount(ICacheEntry $cacheEntry, IMountPoint $mountPoint): INode { return $this->getRootFolder()->getNodeFromCacheEntryAndMount($cacheEntry, $mountPoint); } public function getAppDataDirectoryName(): string { return $this->__call(__FUNCTION__, func_get_args()); } }