feat(history): add energy price history feature
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace App\Contracts;
|
||||
|
||||
use Carbon\Carbon;
|
||||
use Illuminate\Support\Collection;
|
||||
|
||||
interface PriceRepository
|
||||
@@ -9,4 +10,8 @@ interface PriceRepository
|
||||
public function retrieveElectricity(): Collection;
|
||||
|
||||
public function retrieveGas(): Collection;
|
||||
|
||||
public function retrieveElectricityForDate(Carbon $date): Collection;
|
||||
|
||||
public function retrieveGasForDate(Carbon $date): Collection;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user