Symfony\Component\Finder\Finder::in
Searches files and directories which match defined rules.
Signature
public function in(string|array
$dirs )
Parameters
$dirs
— object- A directory path or an array of directories
Returns
- Finder
- The current Finder instance
Errors/Exceptions
-
InvalidArgumentException
- if one of the directories does not exist