Skip to content
Snippets Groups Projects
Commit ebf62e53 authored by Tim Hunt's avatar Tim Hunt
Browse files

Create a class to represent the current state of an input.

The main advantages to this are that
* it makes the code more readable, and autocomplete of field names works;
* we can have PHPdocs on the class, which explain what the values mean;
* PHP can catch and report more meaninful errors.
parent 5e4f109d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment