(related to the post about exceptions in getChildren().
instead of subclassing you can simply use the CATCH_GET_CHILD flag for RecursiveIteratorIterator
new RecursiveIteratorIterator($diriter, RecursiveIteratorIterator::CATCH_GET_CHILD);
(related to the post about exceptions in getChildren().
instead of subclassing you can simply use the CATCH_GET_CHILD flag for RecursiveIteratorIterator
new RecursiveIteratorIterator($diriter, RecursiveIteratorIterator::CATCH_GET_CHILD);