8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af41a1a commit 1422506Copy full SHA for 1422506
UPGRADE-2.1.md
@@ -559,6 +559,17 @@
559
));
560
```
561
562
+ Unlike previously, you can also pass a list of constraints now:
563
+
564
+ ```
565
+ $builder->add('name', 'text', array(
566
+ 'constraints' => array(
567
+ new NotBlank(),
568
+ new MinLength(3),
569
+ ),
570
+ ));
571
572
573
### Validator
574
575
* The methods `setMessage()`, `getMessageTemplate()` and
0 commit comments