Add custom validation error messages
Created by: Arcesilas
Hi,
As proposed in #112 (closed) I've added the ability to specify custom validation error messages.
I've introduced a new Validator
class, and gathered the validation related features in a new WithValidator
trait.
Kept Argument::hasValidation()
for backward compatibility (because it is public...), and marked it as deprecated.
No BC change has been introduced, tests and CS ok.
Updated documentation and Changelog accordingly.