On Tue, Mar 15, 2011 at 1:54 PM, Nick Pope <p...@nickpope.me.uk> wrote:

> Currently we have:
>
>    SplFileInfo  -- information/metadata about a file.
>         |
>         V
>   SplFileObject -- modify/access contents of a file.
>
> It could make sense to subclass this to provide methods for accessing
> information about the contents of a file.  As for a name, I'm not sure what
> would be best, but perhaps something like "SplFileData".  Maybe someone else
> can come up with a better name?

probably SplTextFileObject, as these methods make sense for text files


-- 
Alexey Zakhlestin, http://twitter.com/jimi_dini
http://www.milkfarmsoft.com/

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to