We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Finder::exclude()
1 parent 1b97e1e commit b43aa2dCopy full SHA for b43aa2d
Finder.php
@@ -386,6 +386,10 @@ public function size($size)
386
/**
387
* Excludes directories.
388
*
389
+ * Directories passed as argument must be relative to the ones defined with the `in()` method. For example:
390
+ *
391
+ * $finder->in(__DIR__)->exclude('ruby');
392
393
* @param string|array $dirs A directory path or an array of directories
394
395
* @return $this
0 commit comments