8000 minor #8473 Documented the $finder->hasResults() method (javiereguiluz) · symfony/symfony-docs@47207b4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 47207b4

Browse files
committed
minor #8473 Documented the $finder->hasResults() method (javiereguiluz)
This PR was merged into the 3.4 branch. Discussion ---------- Documented the $finder->hasResults() method Commits ------- 2d9e62d Documented the $finder->hasResults() method
2 parents 93646f7 + 2d9e62d commit 47207b4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

components/finder.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,12 @@ the Finder instance.
6969
Criteria
7070
--------
7171

72-
There are lots of ways to filter and sort your results.
72+
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.
7378

7479
Location
7580
~~~~~~~~

0 commit comments

Comments
 (0)
0