Total Complexity | 2 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | trait WhoopsDebugTrait |
||
16 | { |
||
17 | |||
18 | protected $extraTables = []; |
||
19 | |||
20 | /** |
||
21 | * Adds an entry to the list of tables displayed in the template. |
||
22 | * The expected data is a simple associative array. Any nested arrays |
||
23 | * will be flattened with print_r |
||
24 | * @param string $label |
||
25 | * @param array $data |
||
26 | */ |
||
27 | public function addDataTable($label, array $data) |
||
28 | { |
||
29 | $this->extraTables[$label] = $data; |
||
30 | } |
||
31 | |||
32 | public function getDataTable() |
||
35 | } |
||
36 | } |
||
37 |