| Total Complexity | 2 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 9 | class Table { |
||
| 10 | /** |
||
| 11 | * @var string |
||
| 12 | */ |
||
| 13 | protected $name; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @param string Table name as a string |
||
| 17 | */ |
||
| 18 | 114 | public function __construct(string $name) |
|
| 21 | 114 | } |
|
| 22 | |||
| 23 | /** |
||
| 24 | * Get the name of the table |
||
| 25 | * |
||
| 26 | * @return string |
||
| 27 | */ |
||
| 28 | 90 | public function getName(): string |
|
| 31 | } |
||
| 32 | } |