Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 653 Bytes

validator.md

File metadata and controls

13 lines (10 loc) · 653 Bytes

Validator plugin

It is possible to use the Symfony validator component to validate your request objects before sending them to the server. Since some servers return very cryptographic errors, the validation of request components could save you a lot of time during development.

The validator plugin is activated automatically when you attach a ValidatorInterface to theClientBuilder::withValidator(). It will hook in to the Request event and will throw a RequestException` when your request object doesn't contain valid data.

No more crappy error messages from the soap server!