mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2025-12-30 09:45:10 +01:00
Added v1.12.0 files
This commit is contained in:
13
conf/site/app/Interfaces/InfluxDBWrapperInterface.php
Normal file
13
conf/site/app/Interfaces/InfluxDBWrapperInterface.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace App\Interfaces;
|
||||
|
||||
use App\Models\Speedtest;
|
||||
|
||||
interface InfluxDBWrapperInterface
|
||||
{
|
||||
public function testConnection(): bool;
|
||||
public function doesDatabaseExist(string $database): bool;
|
||||
public function createDatabase(string $database): bool;
|
||||
public function store(Speedtest $speedtest): bool;
|
||||
}
|
||||
Reference in New Issue
Block a user