| Total Complexity | 4 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class DatabaseUtil implements UtilsInterface |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var Connection |
||
| 15 | */ |
||
| 16 | public $conn; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @return string |
||
| 20 | */ |
||
| 21 | public function getName(): string |
||
| 22 | { |
||
| 23 | return 'db'; |
||
| 24 | } |
||
| 25 | |||
| 26 | public function getExtraArguments(): array |
||
| 27 | { |
||
| 28 | return ['conn']; |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @param string $sql |
||
| 33 | * |
||
| 34 | * @throws NeuralizerException |
||
| 35 | */ |
||
| 36 | public function query(string $sql) |
||
| 42 | } |
||
| 43 | } |
||
| 44 | } |
||
| 45 |