18 lines
363 B
PHP
18 lines
363 B
PHP
<?php
|
|
|
|
namespace App\Contracts;
|
|
|
|
use Carbon\Carbon;
|
|
use Illuminate\Support\Collection;
|
|
|
|
interface PriceRepository
|
|
{
|
|
public function retrieveElectricity(): Collection;
|
|
|
|
public function retrieveGas(): Collection;
|
|
|
|
public function retrieveElectricityForDate(Carbon $date): Collection;
|
|
|
|
public function retrieveGasForDate(Carbon $date): Collection;
|
|
}
|