facet-acq / pedi

Php based EDI parser, translator and accessor
MIT License
0 stars 2 forks source link

Decouple read from local file system #2

Open djfurman opened 6 years ago

djfurman commented 6 years ago

As a library, the file contents of an EDI transaction can come from many locations, many of which may never involve a file in the local filesystem.

It makes a lot of sense to enable a load from file internal method that may reasonably return the completed Pedi object, but it would be desirable to pass in the textual content and get the same object in response.