| Conditions | 3 |
| Paths | 2 |
| Total Lines | 16 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 60 | public function getStatement(array $settings= [])/*# : string */ |
||
| 61 | { |
||
| 62 | if (!empty($settings)) { |
||
| 63 | $quoted = []; |
||
| 64 | foreach ((array) $this->col as $c) { |
||
| 65 | $quoted[] = $this->quote( |
||
| 66 | $c, |
||
| 67 | $settings['quotePrefix'], |
||
| 68 | $settings['quoteSuffix'] |
||
| 69 | ); |
||
| 70 | } |
||
| 71 | } else { |
||
| 72 | $quoted = (array) $this->col; |
||
| 73 | } |
||
| 74 | return vsprintf($this->template, $quoted); |
||
| 75 | } |
||
| 76 | } |
||
| 77 |