| Total Complexity | 1 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 6 | class Structure |
||
| 7 | { |
||
| 8 | public string $dataSource; |
||
| 9 | |||
| 10 | /** |
||
| 11 | * A list of the dimensions and their associated type. |
||
| 12 | * |
||
| 13 | * @var array<string,string> |
||
| 14 | */ |
||
| 15 | public array $dimensions = []; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * A list of the metrics and their associated type. |
||
| 19 | * |
||
| 20 | * @var array<string,string> |
||
| 21 | */ |
||
| 22 | public array $metrics = []; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param string $dataSource |
||
| 26 | * @param array<string,string> $dimensions |
||
| 27 | * @param array<string,string> $metrics |
||
| 28 | */ |
||
| 29 | 11 | public function __construct(string $dataSource, array $dimensions, array $metrics) |
|
| 34 | } |
||
| 35 | } |