I refactored the Readable/Writable/Seekable interfaces so that SplFileObject could be passed directly to my reader/writer objects. Need to now write unit tests to make sure this works as expected.
[x] Write unit tests for Reader + IO\File and IO\Stream
[x] Possibly will need to refactor Reader for use with IO\File
[ ] Update documentation for Reader
[x] Write unit tests for Writer + IO\File
[x] Possibly will need to refactor Writer for use with IO\File
I refactored the Readable/Writable/Seekable interfaces so that SplFileObject could be passed directly to my reader/writer objects. Need to now write unit tests to make sure this works as expected.