Total Complexity | 3 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
6 | class Group |
||
7 | { |
||
8 | protected string $tableName = ''; |
||
9 | /** @var string|int */ |
||
10 | protected $columnName = ''; |
||
11 | |||
12 | /** |
||
13 | * @param string $tableName |
||
14 | * @param string|int $columnName |
||
15 | * @return $this |
||
16 | */ |
||
17 | 13 | public function setData(string $tableName, $columnName): self |
|
18 | { |
||
19 | 13 | $this->tableName = $tableName; |
|
20 | 13 | $this->columnName = $columnName; |
|
21 | 13 | return $this; |
|
22 | } |
||
23 | |||
24 | 10 | public function getTableName(): string |
|
27 | } |
||
28 | |||
29 | /** |
||
30 | * @return string|int |
||
31 | */ |
||
32 | 13 | public function getColumnName() |
|
37 |