Blog posts tagged with finder

Finding files and directories in PHP with Symfony2 Finder component

Symfony Finder component makes the task of finding files and directories less tedious. It supports filtering by name, pattern, size, date of modification and few other criteria. As a result we get objects of class SplFileInfo. It offers convenient way of retrieving file and directory details.