rootFolder->getMountPoint()->getNumericStorageId(); } public function getOrganizationFolderNode(OrganizationFolder $organizationFolder): ?Folder { return $this->getOrganizationFolderNodeById($organizationFolder->getId()); } public function getOrganizationFolderNodeById(int $id): ?Folder { return $this->mountProvider->getFolder($id, False); } public function getFolderResourceNode(FolderResource $resource): ?Folder { $organizationFolderNode = $this->getOrganizationFolderNodeById($resource->getOrganizationFolderId()); return $organizationFolderNode->getFirstNodeById($resource->getFileId()); } }