We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e96849 commit 99b0f7aCopy full SHA for 99b0f7a
components/finder.rst
@@ -103,14 +103,13 @@ Each pattern has to resolve to at least one directory path.
103
Exclude directories from matching with the
104
:method:`Symfony\\Component\\Finder\\Finder::exclude` method::
105
106
+ // directories passed as argument must be relative to the ones defined with the in() method
107
$finder->in(__DIR__)->exclude('ruby');
108
109
.. versionadded:: 2.3
110
The :method:`Symfony\\Component\\Finder\\Finder::ignoreUnreadableDirs`
111
method was introduced in Symfony 2.3.
112
-Note that the excluded paths provided are relative to the `in()` directories.
113
-
114
It's also possible to ignore directories that you don't have permission to read::
115
116
$finder->ignoreUnreadableDirs()->in(__DIR__);
0 commit comments