docker-itmgmt/speedtest/volumes/config/www/app/Interfaces/InfluxDBWrapperInterface.php
2023-03-29 15:20:05 +00:00

14 lines
322 B
PHP

<?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;
}