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