| Total Complexity | 4 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | trait DumpUtilTrait |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * Returns export format options |
||
| 9 | * |
||
| 10 | * @return array |
||
| 11 | */ |
||
| 12 | public function dumpFormat(): array |
||
| 13 | { |
||
| 14 | return ['sql' => 'SQL', 'csv' => 'CSV,', 'csv;' => 'CSV;', 'tsv' => 'TSV']; |
||
| 15 | } |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Returns export output options |
||
| 19 | * |
||
| 20 | * @return array |
||
| 21 | */ |
||
| 22 | public function dumpOutput(): array |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Set the path of the file for webserver load |
||
| 33 | * |
||
| 34 | * @return string |
||
| 35 | */ |
||
| 36 | public function importServerPath(): string |
||
| 41 |