To begin with, introduce a basic, non-functional class that simply provides wiring for later work. It should extend Tallier.
The class will need to have basic implementations for the abstract methods:
- addVote
- loadJSONResult
- getJSONResult
- getHtmlResult
- getTextResult
- finishTally
...but these shouldn't do anything meaningful yet.
The type should not yet be added to Tallier::tallierTypes.
Class documentation should state that this class is a work in progress.
We should link to the patch that solves this task from the extension documentation, as an example of how to add a new tallier type.