You are here

public function Finder::files in Database Sanitize 7

Restricts the matching to files only.

Return value

$this

File

vendor/symfony/finder/Finder.php, line 96

Class

Finder
Finder allows to build rules to find files and directories.

Namespace

Symfony\Component\Finder

Code

public function files() {
  $this->mode = Iterator\FileTypeFilterIterator::ONLY_FILES;
  return $this;
}