| Total Complexity | 4 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 80% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class Table |
||
| 8 | { |
||
| 9 | private string $tableName; |
||
| 10 | |||
| 11 | private array $rows = []; |
||
| 12 | |||
| 13 | private array $columns = []; |
||
|
|
|||
| 14 | |||
| 15 | 4 | public function __construct(string $tableName) |
|
| 16 | { |
||
| 17 | 4 | $this->tableName = $tableName; |
|
| 18 | 4 | } |
|
| 19 | |||
| 20 | public function select(string $filter): array |
||
| 21 | { |
||
| 22 | return []; |
||
| 23 | } |
||
| 24 | 4 | ||
| 25 | public function getRows(): array |
||
| 26 | 4 | { |
|
| 27 | return $this->rows; |
||
| 28 | } |
||
| 29 | 4 | ||
| 30 | public function load(array $rows) |
||
| 33 | } |
||
| 34 | } |
||
| 35 |