Danack / Params

Framework agnostic validation
MIT License
6 stars 1 forks source link

wrap validation errors in a class #6

Closed Danack closed 4 years ago

Danack commented 5 years ago

i.e. ParamsValidator instead of returning $this->validationProblems - we should instead return an object, so that the errors can be typed.

Danack commented 4 years ago

Actually, this is not needed currently.

Will wait for other people's feedback on the API before touching.