function undo() { $fc = new FileCopier($this->source, $this->target, $this->backup); $fc->undo(); $fm = new FileMover($this->backup->getFile(FileUpdater::RENAME_LIST), $this->target); $fm->rename(); }