| Total Complexity | 3 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Coverage | 33.33% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 12 | trait ResolvesDatabaseDriver |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * Determine whether the application is using the SQLite database driver. |
||
| 16 | * |
||
| 17 | * @return bool |
||
| 18 | */ |
||
| 19 | 1 | public function usingSQLite(): bool |
|
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Determine whether the application is using the MySQL database driver. |
||
| 26 | * |
||
| 27 | * @return bool |
||
| 28 | */ |
||
| 29 | public function usingMySQL(): bool |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Determine whether the application is using the Postgres database driver. |
||
| 36 | * |
||
| 37 | * @return bool |
||
| 38 | */ |
||
| 39 | public function usingPostgres(): bool |
||
| 44 |