| Total Complexity | 4 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 4 | class VirtualTable { |
||
| 5 | /** |
||
| 6 | * @param string $tableName |
||
| 7 | * @param array<string, mixed> $params |
||
| 8 | */ |
||
| 9 | public function __construct( |
||
| 10 | private string $tableName, |
||
| 11 | private array $params = [] |
||
| 12 | ) {} |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @return string |
||
| 16 | */ |
||
| 17 | public function getTableName(): string { |
||
| 18 | return $this->tableName; |
||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @return array<string, mixed> |
||
| 23 | */ |
||
| 24 | public function getParams(): array { |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @return string |
||
| 30 | */ |
||
| 31 | public function __toString(): string { |
||
| 35 |