classes/phing/tasks/system/TempFile.php
public function setDestDir($destDir)
    {
        if ($destDir instanceof PhingFile) {
            $this->destDir = $destDir;
        } else {
            $this->destDir = new PhingFile($destDir);
        }
    }
public function setDestDir($destDir)
    {
        if ($destDir instanceof PhingFile) {
            $this->destDir = $destDir;
        } else {
            $this->destDir = new PhingFile($destDir);
        }
    }
public function setDestDir ( $ destDir ) { if ( $ destDir instanceof PhingFile ) { $ this -> destDir = $ destDir ; } else { $ this -> destDir = new PhingFile ( $ destDir ) ; } }
Sets the destination directory. If not set,
the basedir directory is used instead.

@param string|PhingFile $destDir The new destDir value
Sets the destination directory . If not set the basedir directory is used instead .