Improve the documentation of Finder::exclude()
This commit is contained in:
parent
79e8545f86
commit
cc3084ed65
@ -386,6 +386,10 @@ class Finder implements \IteratorAggregate, \Countable
|
|||||||
/**
|
/**
|
||||||
* Excludes directories.
|
* 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
|
* @param string|array $dirs A directory path or an array of directories
|
||||||
*
|
*
|
||||||
* @return $this
|
* @return $this
|
||||||
|
Reference in New Issue
Block a user