Make the validator fields protected, so that users subclassing them can access the variables.
Or better just add getters and setters to provide a refactor proof api.
Log in to post a comment.