Skip to content

Commit 165220e

Browse files
committed
[symfony#2098] Fixing a few minor things
1 parent 58f6288 commit 165220e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

components/finder.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,16 @@ the Finder instance.
4848

4949
.. tip::
5050

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
5252
Finder with ``foreach``, you can also convert it to an array with the
5353
:phpfunction:`iterator_to_array` method, or get the number of items with
5454
:phpfunction:`iterator_count`.
5555

5656
Criteria
5757
--------
5858

59+
There are lots of ways to filter and sort your results.
60+
5961
Location
6062
~~~~~~~~
6163

@@ -99,7 +101,7 @@ And it also works with user-defined streams::
99101
Read the `Streams`_ documentation to learn how to create your own streams.
100102

101103
Files or Directories
102-
~~~~~~~~~~~~~~~~~~~~~
104+
~~~~~~~~~~~~~~~~~~~~
103105

104106
By default, the Finder returns files and directories; but the
105107
:method:`Symfony\\Component\\Finder\\Finder::files` and
@@ -220,8 +222,7 @@ instance. The file is excluded from the result set if the Closure returns
220222
``false``.
221223

222224
.. _strtotime: http://www.php.net/manual/en/datetime.formats.php
223-
.. _Iterator: http://www.php.net/manual/en/spl.iterators.php
224225
.. _protocol: http://www.php.net/manual/en/wrappers.php
225226
.. _Streams: http://www.php.net/streams
226227
.. _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

0 commit comments

Comments
 (0)