classes/phing/tasks/system/MatchingTask.php
protected function getDirectoryScanner(PhingFile $baseDir)
    {
        $this->fileset->setDir($baseDir);
        $this->fileset->setDefaultexcludes($this->useDefaultExcludes);

        return $this->fileset->getDirectoryScanner($this->project);
    }
protected function getDirectoryScanner(PhingFile $baseDir)
    {
        $this->fileset->setDir($baseDir);
        $this->fileset->setDefaultexcludes($this->useDefaultExcludes);

        return $this->fileset->getDirectoryScanner($this->project);
    }
protected function getDirectoryScanner ( PhingFile $ baseDir ) { $ this -> fileset -> setDir ( $ baseDir ) ; $ this -> fileset -> setDefaultexcludes ( $ this -> useDefaultExcludes ) ; return $ this -> fileset -> getDirectoryScanner ( $ this -> project ) ; }
Returns the directory scanner needed to access the files to process.

@param  PhingFile $baseDir
@throws BuildException
@return DirectoryScanner
Returns the directory scanner needed to access the files to process .