/** * @param Folder $folder The Folder into which it should be moved * * @return boolean * * @author Nicolas Pecher * @version Version 0.1, 01.05.2012 */ public function moveTo(Folder $folder) { copy($this->getPath(), $folder->getPath() . '/' . $this->getName()); $this->delete(); $this->basePath = $folder->getPath(); return $this; }