| Total Complexity | 4 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 6 | class Create extends Base |
||
| 7 | { |
||
| 8 | protected function mountQuery(): void |
||
| 14 | } |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @param array $data |
||
| 18 | * @return Create |
||
| 19 | */ |
||
| 20 | public function create(array $data): static |
||
| 21 | { |
||
| 22 | $this->fields = $data; |
||
| 23 | |||
| 24 | return $this; |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param array $data |
||
| 29 | */ |
||
| 30 | public function exec(): ?int |
||
| 44 | } |
||
| 45 | } |
||
| 47 |