public function Finder::sortByChangedTime in Database Sanitize 7
Sorts files and directories by the last inode changed time.
This is the time that the inode information was last modified (permissions, owner, group or other metadata).
On Windows, since inode is not available, changed time is actually the file creation time.
This can be slow as all the matching files and directories must be retrieved for comparison.
Return value
$this
See also
File
- vendor/
symfony/ finder/ Finder.php, line 458
Class
- Finder
- Finder allows to build rules to find files and directories.
Namespace
Symfony\Component\FinderCode
public function sortByChangedTime() {
$this->sort = Iterator\SortableIterator::SORT_BY_CHANGED_TIME;
return $this;
}