/** * Moves folder to a target folder * * @param \TYPO3\CMS\Core\Resource\Folder $targetFolder Target folder to move to. * @param string $targetFolderName an optional destination fileName * @param string $conflictMode "overrideExistingFile", "renameNewFile" or "cancel * @return \TYPO3\CMS\Core\Resource\Folder New (copied) folder object. */ public function moveTo(\TYPO3\CMS\Core\Resource\Folder $targetFolder, $targetFolderName = NULL, $conflictMode = 'renameNewFile') { return $this->storage->moveFolder($this, $targetFolder, $targetFolderName, $conflictMode); }