classes/phing/types/PearPackageFileSet.php
public function getDir(Project $p = null)
    {
        if ($p === null) {
            $p = $this->getProject();
        }
        if ($this->pps === null) {
            $this->loadPearPackageScanner($p);
        }

        return new PhingFile((string) $this->pps->getBaseDir());
    }
public function getDir(Project $p = null)
    {
        if ($p === null) {
            $p = $this->getProject();
        }
        if ($this->pps === null) {
            $this->loadPearPackageScanner($p);
        }

        return new PhingFile((string) $this->pps->getBaseDir());
    }
public function getDir ( Project $ p = null ) { if ( $ p === null ) { $ p = $ this -> getProject ( ) ; } if ( $ this -> pps === null ) { $ this -> loadPearPackageScanner ( $ p ) ; } return new PhingFile ( ( string ) $ this -> pps -> getBaseDir ( ) ) ; }
Returns the base directory all package files are relative to

@param Project $p Current phing project

@return PhingFile Base directory
Returns the base directory all package files are relative to