Conditions | 3 |
Paths | 3 |
Total Lines | 17 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
34 | public function generate(): string |
||
35 | { |
||
36 | if ($this->isDisabled === true) { |
||
37 | return ''; |
||
38 | } |
||
39 | |||
40 | $sqlPart = ''; |
||
41 | |||
42 | foreach ($this->list as $index => $subQuery) { |
||
43 | $sqlPart .= $this->querySystem->getQuerySgbd()->listItem( |
||
44 | $subQuery->generate(), |
||
45 | $index, |
||
46 | $this->separator |
||
47 | ); |
||
48 | } |
||
49 | |||
50 | return $sqlPart; |
||
51 | } |
||
53 |