Skip to content

Commit c0a09d2

Browse files
committed
Merge pull request #2576 from tvlooy/patch-8
Document ignoreUnreadableDirs
2 parents f04c2db + 2bc754d commit c0a09d2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

components/finder.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,13 @@ Exclude directories from matching with the
9696

9797
$finder->in(__DIR__)->exclude('ruby');
9898

99+
.. versionadded:: 2.3
100+
Ignore unreadable dirs support was added in version 2.3.
101+
102+
Ignore directories that you don't have permissions on::
103+
104+
$finder->ignoreUnreadableDirs()->in(__DIR__);
105+
99106
As the Finder uses PHP iterators, you can pass any URL with a supported
100107
`protocol`_::
101108

0 commit comments

Comments
 (0)