Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
42 | public function getValidationGroupsForSubject($subject, Workflow $workflow, Transition $transition): array |
||
43 | { |
||
44 | $groups = []; |
||
45 | |||
46 | foreach ($this->strategies as $strategy) { |
||
47 | $groups = array_merge($groups, $strategy->getValidationGroupsForSubject($subject, $workflow, $transition)); |
||
48 | } |
||
49 | |||
50 | return array_unique($groups); |
||
51 | } |
||
53 |