| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 30 | private function generateItemRows(): string |
||
| 31 | { |
||
| 32 | $res = []; |
||
| 33 | foreach ($this->items as $item) { |
||
| 34 | $key = ucwords(Inflector::id2camel(str_replace([':', '.'], '-', $item))); |
||
| 35 | $res[] = sprintf('%s"%s" = "%s",', $this->indentation, $key, $item); |
||
| 36 | } |
||
| 37 | |||
| 38 | return implode(self::LINE_FEED, $res); |
||
| 39 | } |
||
| 41 |