Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
19 | public function generate(array $criteriaBuilderList) |
||
20 | { |
||
21 | $concretPassword = []; |
||
22 | |||
23 | foreach ($criteriaBuilderList as $criteriaBuilder) { |
||
24 | $concretPassword = array_merge($concretPassword, $criteriaBuilder->build()); |
||
25 | } |
||
26 | |||
27 | shuffle($concretPassword); |
||
28 | |||
29 | return implode($concretPassword); |
||
30 | } |
||
31 | } |
||
32 |