File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -48,14 +48,16 @@ the Finder instance.
48
48
49
49
.. tip ::
50
50
51
- A Finder instance is a PHP `Iterator `_ . So, instead of iterating over the
51
+ A Finder instance is a PHP :phpclass: `Iterator `. So, instead of iterating over the
52
52
Finder with ``foreach ``, you can also convert it to an array with the
53
53
:phpfunction: `iterator_to_array ` method, or get the number of items with
54
54
:phpfunction: `iterator_count `.
55
55
56
56
Criteria
57
57
--------
58
58
59
+ There are lots of ways to filter and sort your results.
60
+
59
61
Location
60
62
~~~~~~~~
61
63
@@ -99,7 +101,7 @@ And it also works with user-defined streams::
99
101
Read the `Streams `_ documentation to learn how to create your own streams.
100
102
101
103
Files or Directories
102
- ~~~~~~~~~~~~~~~~~~~~~
104
+ ~~~~~~~~~~~~~~~~~~~~
103
105
104
106
By default, the Finder returns files and directories; but the
105
107
:method: `Symfony\\ Component\\ Finder\\ Finder::files ` and
@@ -220,8 +222,7 @@ instance. The file is excluded from the result set if the Closure returns
220
222
``false ``.
221
223
222
224
.. _strtotime : http://www.php.net/manual/en/datetime.formats.php
223
- .. _Iterator : http://www.php.net/manual/en/spl.iterators.php
224
225
.. _protocol : http://www.php.net/manual/en/wrappers.php
225
226
.. _Streams : http://www.php.net/streams
226
227
.. _IEC standard : http://physics.nist.gov/cuu/Units/binary.html
227
- .. _Packagist : https://packagist.org/packages/symfony/finder
228
+ .. _Packagist : https://packagist.org/packages/symfony/finder
You can’t perform that action at this time.
0 commit comments