| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | trait TableAwareOperationTrait |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var string The table name. |
||
| 14 | */ |
||
| 15 | protected string $tableName = ''; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Registers the table name with this object. |
||
| 19 | * |
||
| 20 | * @param string $tableName The table name. |
||
| 21 | * @return static This object. |
||
| 22 | */ |
||
| 23 | 50 | final public function setTableName(string $tableName): static |
|
| 24 | { |
||
| 25 | 50 | $this->tableName = $tableName; |
|
| 26 | 50 | return $this; |
|
| 27 | } |
||
| 28 | |||
| 29 | 53 | public function toArray(): array |
|
| 33 | ]; |
||
| 34 | } |
||
| 36 |