public function Finder::notPath in Database Sanitize 7
Adds rules that filenames must not match.
You can use patterns (delimited with / sign) or simple strings.
$finder->notPath('some/special/dir') $finder->notPath('/some\/special\/dir/') // same as above
Use only / as dirname separator.
Parameters
string $pattern A pattern (a regexp or a string):
Return value
$this
See also
File
- vendor/
symfony/ finder/ Finder.php, line 269
Class
- Finder
- Finder allows to build rules to find files and directories.
Namespace
Symfony\Component\FinderCode
public function notPath($pattern) {
$this->notPaths[] = $pattern;
return $this;
}