Total Complexity | 3 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
22 | class ChainedWorkflowValidationStrategy implements WorkflowValidationStrategyInterface |
||
23 | { |
||
24 | /** |
||
25 | * @var WorkflowValidationStrategyInterface[] |
||
26 | */ |
||
27 | private $strategies; |
||
28 | |||
29 | /** |
||
30 | * ChainedWorkflowValidationStrategy constructor. |
||
31 | * |
||
32 | * @param array $strategies |
||
33 | */ |
||
34 | public function __construct(array $strategies) |
||
35 | { |
||
36 | $this->strategies = $strategies; |
||
37 | } |
||
38 | |||
39 | /** |
||
40 | * {@inheritdoc} |
||
41 | */ |
||
42 | public function getValidationGroupsForSubject($subject, Workflow $workflow, Transition $transition): array |
||
51 | } |
||
52 | } |
||
53 |