| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | public function __construct(array $data, $char = null) |
||
| 15 | { |
||
| 16 | $data = $this->convertValuesToStrings($data); |
||
| 17 | $length = $this->getMaxStringLength(array_keys($data)); |
||
| 18 | |||
| 19 | parent::__construct($length, $char); |
||
| 20 | |||
| 21 | foreach ($data as $key => $value) { |
||
| 22 | $this->label($key)->result($value); |
||
| 23 | } |
||
| 24 | } |
||
| 25 | |||
| 85 |