| Total Complexity | 4 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class MessageData |
||
| 8 | { |
||
| 9 | private $table; |
||
| 10 | private $targetKeys; |
||
| 11 | private $data; |
||
| 12 | |||
| 13 | 10 | public function __construct(string $table, array $targetKeys, array $data) |
|
| 14 | { |
||
| 15 | 10 | $this->table = $table; |
|
| 16 | 10 | $this->targetKeys = $targetKeys; |
|
| 17 | 10 | $this->data = $data; |
|
| 18 | } |
||
| 19 | |||
| 20 | 5 | public function getTable(): string |
|
| 21 | { |
||
| 22 | 5 | return $this->table; |
|
| 23 | } |
||
| 24 | |||
| 25 | 6 | public function getTargetKeys(): array |
|
| 28 | } |
||
| 29 | |||
| 30 | 9 | public function getData(): array |
|
| 35 |