Bug #879
setValidator et al. are misleading method names
| Status: | New | Start: | 2008-06-26 | |
| Priority: | Could have | Due date: | ||
| Assigned to: | Andreas Förthner | % Done: | 0% |
|
| Category: | MVC | |||
| Target version: | - | Estimated time: | 0.00 hours | |
Description
Method names such "setValidator" imply that the expected argument actually is a validator object. However in F3_FLOW3_MVC_Controller_Argument the expected argument is a class name.
Either rename the method to setNewValidator or change the method signature.
There are also a lot of tests missing for new methods introduced to F3_FLOW3_MVC_Controller_Argument.