GroupSequence::$cascadedGroup
The group in which cascaded objects are validated when validating this sequence.
By default, cascaded objects are validated in each of the groups of the sequence.
If a class has a group sequence attached, that sequence replaces the "Default" group. When validating that class in the "Default" group, the group sequence is used instead, but still the "Default" group should be cascaded to other objects.
Type: cascadedGroup
File
-
vendor/
symfony/ validator/ Constraints/ GroupSequence.php, line 71
Class
- GroupSequence
- A sequence of validation groups.
Namespace
Symfony\Component\Validator\ConstraintsCode
public string|GroupSequence $cascadedGroup;