Finder::sortByAccessedTime()

Finder|SplFileInfo[] sortByAccessedTime()

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

Finder|SplFileInfo[] The current Finder instance

See also

SortableIterator
doc_Symfony
2016-10-28 06:16:56
Comments
Leave a Comment

Please login to continue.