| Total Complexity | 3 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class FunnyData implements IDatasource |
||
| 8 | { |
||
| 9 | |||
| 10 | public function getName(): string |
||
| 11 | { |
||
| 12 | return 'FunnyData'; |
||
| 13 | } |
||
| 14 | |||
| 15 | public function getTemplates(): array |
||
| 16 | { |
||
| 17 | $template = array(); |
||
| 18 | array_push($template, ['id' => 'datatype', 'name' => 'Type of data', 'placeholder' => 'absolute/adaptation']); |
||
| 19 | array_push($template, ['id' => 'delete', 'name' => 'Delete all data before load', 'placeholder' => 'true/false']); |
||
| 20 | return $template; |
||
| 21 | } |
||
| 22 | |||
| 23 | public function readData(): string |
||
| 27 | } |
||
| 28 | |||
| 29 | } |
||
| 31 |