/** * Moves a file to the given destination file or directory. * * @param mixed sfFilebasePluginFile | string destination * @param boolean $allow_overwrite: Move and replace existing files * @return sfFilebasePluginFile $moved_file */ public function move($destination, $allow_overwrite = false) { return $this->filebase->moveFile($this, $destination, $allow_overwrite); }