Merge branch '2.8' into 3.4
* 2.8: Improve the documentation of `Finder::exclude()`
This commit is contained in:
commit
ab07cddf04
@ -297,6 +297,10 @@ class Finder implements \IteratorAggregate, \Countable
|
||||
/**
|
||||
* Excludes directories.
|
||||
*
|
||||
* Directories passed as argument must be relative to the ones defined with the `in()` method. For example:
|
||||
*
|
||||
* $finder->in(__DIR__)->exclude('ruby');
|
||||
*
|
||||
* @param string|array $dirs A directory path or an array of directories
|
||||
*
|
||||
* @return $this
|
||||
|
Reference in New Issue
Block a user