Skip to content

Commit 2bc754d

Browse files
committed
Document ignoreUnreadableDirs
| Q | A | ------------- | --- | Doc fix? | no | New docs? | yes | Applies to | 2.3 | Fixed tickets | 2574
1 parent 73e5095 commit 2bc754d

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)