We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7998afa commit 5b3ca6dCopy full SHA for 5b3ca6d
components/finder.rst
@@ -30,8 +30,10 @@ directories::
30
foreach ($finder as $file) {
31
// Print the absolute path
32
print $file->getRealpath()."\n";
33
+
34
// Print the relative path to the file, omitting the filename
35
print $file->getRelativePath()."\n";
36
37
// Print the relative path to the file
38
print $file->getRelativePathname()."\n";
39
}
@@ -87,7 +89,7 @@ And it also works with user-defined streams::
87
89
$finder = new Finder();
88
90
$finder->name('photos*')->size('< 100K')->date('since 1 hour ago');
91
foreach ($finder->in('s3://bucket-name') as $file) {
- // do something
92
+ // ... do something
93
94
print $file->getFilename()."\n";
95
0 commit comments