public function Finder::sortByAccessedTime in Database Sanitize 7
Sorts files and directories by the last accessed time.
This is the time that the file was last accessed, read or written to.
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 438
Class
- Finder
- Finder allows to build rules to find files and directories.
Namespace
Symfony\Component\FinderCode
public function sortByAccessedTime() {
$this->sort = Iterator\SortableIterator::SORT_BY_ACCESSED_TIME;
return $this;
}