Finder|SplFileInfo[] path(string $pattern)
Adds rules that filenames must match.
You can use patterns (delimited with / sign) or simple strings.
$finder->path('some/special/dir') $finder->path('/some\/special\/dir/') // same as above
Use only / as dirname separator.
Please login to continue.