| Conditions | 3 |
| Paths | 3 |
| Total Lines | 11 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 37 | private function renderRole(array $schema, string $role): string |
||
| 38 | { |
||
| 39 | $rows = []; |
||
| 40 | |||
| 41 | foreach ($this->renderers as $renderer) { |
||
| 42 | if ($row = $renderer->render($this->formatter, $schema, $role)) { |
||
| 43 | $rows[] = $row; |
||
| 44 | } |
||
| 45 | } |
||
| 46 | |||
| 47 | return \implode($this->formatter::LINE_SEPARATOR, $rows); |
||
| 48 | } |
||
| 50 |