PHP Symfony\Component\Finder Finder::sort - 4 examples found. These are the top rated real world PHP examples of Symfony\Component\Finder\Finder::sort extracted from open source projects. You can rate examples to help us improve the quality of examples.
The anonymous function receives two \SplFileInfo instances to compare.
This can be slow as all the matching files and directories must be retrieved for comparison.
See also:
SortableIterator
publicsort ( Closure$closure ) : Finder | Symfony\Component\Finder\SplFileInfo[]