Closed marank closed 8 years ago
Nice idea! Can you add a test around here? https://github.com/adamwathan/form/blob/master/tests/TextTest.php#L231
Will merge after that :+1:
Done. I hope everything's okay, to be honest I never used PHPUnit before.
Thanks!
This simplifies passing multiple data attributes from the controller to the model and helps writing clean code when multiple data attributes are needed.