You are here

public function Finder::notName in Database Sanitize 7

Adds rules that files must not match.

Parameters

string $pattern A pattern (a regexp, a glob, or a string):

Return value

$this

See also

FilenameFilterIterator

File

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

Class

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

Namespace

Symfony\Component\Finder

Code

public function notName($pattern) {
  $this->notNames[] = $pattern;
  return $this;
}