8000
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 4f94c5e commit 2d9e62dCopy full SHA for 2d9e62d
components/finder.rst
@@ -69,7 +69,12 @@ the Finder instance.
69
Criteria
70
--------
71
72
-There are lots of ways to filter and sort your results.
+There are lots of ways to filter and sort your results. You can also use the
73
+:method:`Symfony\\Component\\Finder\\Finder::hasResults` method to check if
74
+there's any file or directory matching the search criteria.
75
+
76
+.. versionadded:: 3.4
77
+ The ``hasResults()`` method was introduced in Symfony 3.4.
78
79
Location
80
~~~~~~~~
0 commit comments