Improved consistency
No new features have been added since v0.4, only consistency improvements. After resolving the final v1 issues from the issue tracker, today marks the release of v1 of the PHP.Gt/Input repository.
Main improvements are:
- Implementation of PSR 7's UploadedFileInterface, allowing interoperability between other areas of PHP.Gt using the PHP.Gt/Http repository.
asArray
- naming compatibility with other PHP.Gt repositories.- The
Input
class is now mutable, allowing extra parameters to be added after initial construction.InputData
classes are still immutable, so this allows the framework to add properties without exposing the functionality to user code. - Return types of all get* functions are improved for readability and predictability.