Feature #31373

Annotation to enforce validation on setter

Added by Christian Müller about 10 years ago. Updated over 9 years ago.

Status:
Rejected
Priority:
Could have
Assignee:
-
Category:
Validation
Start date:
2011-10-28
Due date:
% Done:

0%

Estimated time:
PHP Version:
Has patch:
No
Complexity:

Description

Something like @FLOW3\ValidateOnSet which you can annotate to a setter in a model. On each call the generated proxy should check the validation rules for this property before setting and if validation fails throw some error.


Related issues

Related to TYPO3.Flow - Bug #31500: Argument validation for CLI requests is not doneUnder ReviewKarsten Dambekalns2011-11-02

Actions
Related to TYPO3.Flow - Bug #31502: Validation during persistence got lost in Doctrine additionResolvedKarsten Dambekalns2011-11-02

Actions

Also available in: Atom PDF