classes/phing/types/FileList.php
public function setDir(PhingFile $dir)
    {
        if ($this->isReference()) {
            throw $this->tooManyAttributes();
        }
        if (!($dir instanceof PhingFile)) {
            $dir = new PhingFile($dir);
        }
        $this->dir = $dir;
    }
public function setDir(PhingFile $dir)
    {
        if ($this->isReference()) {
            throw $this->tooManyAttributes();
        }
        if (!($dir instanceof PhingFile)) {
            $dir = new PhingFile($dir);
        }
        $this->dir = $dir;
    }
public function setDir ( PhingFile $ dir ) { if ( $ this -> isReference ( ) ) { throw $ this -> tooManyAttributes ( ) ; } if ( ! ( $ dir instanceof PhingFile ) ) { $ dir = new PhingFile ( $ dir ) ; } $ this -> dir = $ dir ; }
Base directory for files in list.

@param  PhingFile $dir
@throws BuildException
Base directory for files in list .