Skip to content

Commit 44a796d

Browse files
committed
Merge branch '3.4' into 4.0
* 3.4: Improve the documentation of `Finder::exclude()` [DI] Skip resource tracking if disabled [WebProfilerBundle] fix wrong variable for profiler counting ajax requests
2 parents 552e244 + a479817 commit 44a796d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Finder.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,10 @@ public function size($size)
297297
/**
298298
* Excludes directories.
299299
*
300+
* Directories passed as argument must be relative to the ones defined with the `in()` method. For example:
301+
*
302+
* $finder->in(__DIR__)->exclude('ruby');
303+
*
300304
* @param string|array $dirs A directory path or an array of directories
301305
*
302306
* @return $this

0 commit comments

Comments
 (0)