Skip to content

Commit 41c56d8

Browse files
committed
minor #8484 Update finder.rst (flip111, javiereguiluz)
This PR was merged into the 2.7 branch. Discussion ---------- Update finder.rst symfony/symfony#8871 (comment) Commits ------- cc8853e Minor reword 69ecceb Update finder.rst
2 parents 5447036 + cc8853e commit 41c56d8

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
@@ -55,6 +55,13 @@ the Finder instance.
5555
:phpfunction:`iterator_to_array` method, or get the number of items with
5656
:phpfunction:`iterator_count`.
5757

58+
.. tip::
59+
60+
The ``Finder`` object doesn't reset its internal state automatically, which
61+
means that results are always added to the previous ones. Instantiate a new
62+
object or call :phpfunction:`create` on the existing object to reset the
63+
previous state.
64+
5865
.. caution::
5966

6067
When searching through multiple locations passed to the

0 commit comments

Comments
 (0)