| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | trait TableAwareOperationTrait |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var string The table name. |
||
| 9 | */ |
||
| 10 | protected $tableName; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * Registers the table name with this object. |
||
| 14 | * |
||
| 15 | * @param string $tableName The table name. |
||
| 16 | * @return mixed This object. |
||
| 17 | */ |
||
| 18 | 45 | final public function setTableName(string $tableName) |
|
| 19 | { |
||
| 20 | 45 | $this->tableName = $tableName; |
|
| 21 | 45 | return $this; |
|
| 22 | } |
||
| 23 | |||
| 24 | 48 | public function toArray(): array |
|
| 28 | ]; |
||
| 29 | } |
||
| 31 |