Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit99b0f7a

Browse files
Reworded the note as a code comment
1 parent5e96849 commit99b0f7a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎components/finder.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,14 +103,13 @@ Each pattern has to resolve to at least one directory path.
103103
Exclude directories from matching with the
104104
:method:`Symfony\\Component\\Finder\\Finder::exclude` method::
105105

106+
// directories passed as argument must be relative to the ones defined with the in() method
106107
$finder->in(__DIR__)->exclude('ruby');
107108

108109
..versionadded::2.3
109110
The:method:`Symfony\\Component\\Finder\\Finder::ignoreUnreadableDirs`
110111
method was introduced in Symfony 2.3.
111112

112-
Note that the excluded paths provided are relative to the `in()` directories.
113-
114113
It's also possible to ignore directories that you don't have permission to read::
115114

116115
$finder->ignoreUnreadableDirs()->in(__DIR__);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp