| Conditions | 3 |
| Paths | 3 |
| Total Lines | 17 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 111 | public function generate(): string |
||
| 112 | { |
||
| 113 | if ($this->isDisabled === true) { |
||
| 114 | return ''; |
||
| 115 | } |
||
| 116 | |||
| 117 | $sqlPart = ''; |
||
| 118 | |||
| 119 | foreach ($this->list as $index => $expr) { |
||
| 120 | $sqlPart .= $this->querySystem->getQuerySgbd()->listItem( |
||
| 121 | $expr, |
||
| 122 | $index, |
||
| 123 | $this->separator |
||
| 124 | ); |
||
| 125 | } |
||
| 126 | |||
| 127 | return $sqlPart; |
||
| 128 | } |
||
| 130 |