Finder::sortByModifiedTime()

Finder|SplFileInfo[] sortByModifiedTime()

Sorts files and directories by the last modified time.

This is the last time the actual contents of the file were last modified.

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.