Web lists-archives.com

[PHP] Why doe DirectoryIterator extends SplFileInfo?

Hi everybody!

I wonder why DirectoryIterator extends SplFileInfo, instead of just
returning SplFileInfo instances from ::current().  I can't find a good
reason for this design decision, so I wanted to ask whether somebody
else can explain it.

Christoph M. Becker

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php