| Total Complexity | 10 |
| Total Lines | 53 |
| Duplicated Lines | 0 % |
| Coverage | 90% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class DataTable |
||
| 10 | { |
||
| 11 | private readonly string $name; |
||
| 12 | |||
| 13 | private readonly DataFields $fields; |
||
| 14 | |||
| 15 | /** @var string[] */ |
||
| 16 | private readonly array $primaryKey; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @param string[] $primaryKey |
||
| 20 | */ |
||
| 21 | 398 | public function __construct( |
|
| 46 | } |
||
| 47 | |||
| 48 | 186 | public function name(): string |
|
| 49 | { |
||
| 50 | 186 | return $this->name; |
|
| 51 | } |
||
| 52 | |||
| 53 | 394 | public function fields(): DataFields |
|
| 54 | { |
||
| 55 | 394 | return $this->fields; |
|
| 56 | } |
||
| 57 | |||
| 58 | /** @return string[] */ |
||
| 59 | 159 | public function primaryKey(): array |
|
| 62 | } |
||
| 63 | } |
||
| 64 |