I am little bit confused regarding symfony group validation.
Suppose i have this code
* @NotBlank(groups={"A", "B", "C"})
*/
private $description;
When i submit the form then i am manually inject groups like this
$this->validator->validate($object, groups={"F", "A","C"})
Now i want to know how symfony will do validation
- Does symfony check that all the groups ie,
F,A,C
SHOULD MATCHED WITHA,B,C
OR it checks if any groups fromF,A,C
is present in defined gorup'A,B,C'. So if any item macthes then it do the validation