Skip to content

Commit 3814b8e

Browse files
committed
merged branch vicb/cmp/finder (PR #949)
Commits ------- 43cdd28 Introduce Symfony\\Component\\Finder\\SplFileInfo Discussion ---------- [Finder] Finder returns instances of `Symfony\\Component\\Finder\\SplFileInfo`
2 parents 068bfa6 + 43cdd28 commit 3814b8e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

components/finder.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ directories::
3131
print $file->getRealpath()."\n";
3232
}
3333

34-
The ``$file`` is an instance of :phpclass:`SplFileInfo`.
34+
The ``$file`` is an instance of :class:`Symfony\\Component\\Finder\\SplFileInfo`
35+
which extends :phpclass:`SplFileInfo` to provide methods to work with relative
36+
paths.
3537

3638
The above code prints the names of all the files in the current directory
3739
recursively. The Finder class uses a fluent interface, so all methods return

0 commit comments

Comments
 (0)