PSR-7 is now accepted as a recommendation and quite a few frameworks are adopting it as a standard for HTTP request and responses.
The relevant part of PSR-7 to Upload is the UploadedFileInterface. It looks like something that the File class could possibly implement, though keep in mind that the PSR-7 objects are immutable value objects.
PSR-7 is now accepted as a recommendation and quite a few frameworks are adopting it as a standard for HTTP request and responses.
The relevant part of PSR-7 to Upload is the
UploadedFileInterface
. It looks like something that theFile
class could possibly implement, though keep in mind that the PSR-7 objects are immutable value objects.