Model Validation examples

Hi,

Are there any Model Validation examples around as I have, had a look but can't see how it is implemented. Any links or examples would be appreciated.

Thanks



30.0k
edited Mar '15

Hi,

here an example

or here



5.8k

Its better you implement Command Bus, You just have validate the Command instead validating input form and model

http://php-and-symfony.matthiasnoback.nl/2015/01/responsibilities-of-the-command-bus/