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 dc75ff5 commit 4132a97Copy full SHA for 4132a97
components/finder.rst
@@ -31,7 +31,7 @@ directories::
31
32
foreach ($finder as $file) {
33
// Dump the absolute path
34
- var_dump($file->getRealpath());
+ var_dump($file->getRealPath());
35
36
// Dump the relative path to the file, omitting the filename
37
var_dump($file->getRelativePath());
@@ -163,7 +163,7 @@ You can also define your own sorting algorithm with ``sort()`` method::
163
164
$sort = function (\SplFileInfo $a, \SplFileInfo $b)
165
{
166
- return strcmp($a->getRealpath(), $b->getRealpath());
+ return strcmp($a->getRealPath(), $b->getRealPath());
167
};
168
169
$finder->sort($sort);
0 commit comments