[Flow] Object Validation

Bastian Waidelich bastian at typo3.org
Tue Jul 7 14:07:52 CEST 2015


On 07.07.15, at 13:50, Dirk Rauscher wrote:

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/PartIII/Validation.html#validating-domain-models

-- 
Bastian Waidelich


More information about the Flow mailing list