Skip to content

FileUpload support

Pre-release
Pre-release
Compare
Choose a tag to compare
@g105b g105b released this 24 Feb 11:56
· 164 commits to master since this release
b68e580

The main changes in this release consist of the way the three array-like objects are handled internally; QueryStringInputData, BodyInputData and FileUploadInputData now all extend the same base class, InputData allowing a consistent API with extended functionality where necessary.

FileUploadInputData is a new array-like object used to access the user-uploaded files, introduced by this release. The object unwraps the $_FILES superglobal into a data structure that makes sense, finally representing the individual files as FileUpload objects.