[Flow] Object Validation

Dirk Rauscher dirk.rauscher at aoe.com
Tue Jul 7 16:07:00 CEST 2015


Thanks Bastian

> Hi Dirk,
> 
> > I expected Flow to be able to handle Object Validation by means of a
> Validator named equally to the object's class it will be used for.
> > Class name: MyClass
> > Validator name: MyClassValidator
> > So far it's clear. But where has this validator to be located?
> 
> According to the documentation[1] the validator for class
> *Your\Package\Domain\Model\MyClass* would be
> *Your\Package\Domain\Validator\MyClassValidator*
> 
> 
> [1]
> https://flowframework.readthedocs.org/en/stable/TheDefinitiveGuide/Part
> III/Validation.html#validating-domain-models
> 
> --
> Bastian Waidelich


More information about the Flow mailing list