mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2026-01-04 12:04:54 +01:00
Moved speedtest logic into interface
This commit is contained in:
11
app/Interfaces/SpeedtestProvider.php
Normal file
11
app/Interfaces/SpeedtestProvider.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace App\Interfaces;
|
||||
|
||||
use App\Speedtest;
|
||||
|
||||
interface SpeedtestProvider
|
||||
{
|
||||
public function run(): Speedtest;
|
||||
public function output();
|
||||
}
|
||||
Reference in New Issue
Block a user