It seems the $validator->validate( $class );
of the Symfony2 Validation Service runs through all the validation checks before if returns the $error
class. This is normally OK but I'm looking for halt_on_failure
functionality because once a particular property fails it triggers a PHP
error on a proceeding Validation check.
It's fairly well documented in Symfony-1 that there was a halt_on_error
but I'm not sure how this works in Symfony2. I've found references to it but no examples.
Here's a similar question