feat(dashboard): add price dashboard with Zonneplan integration

This commit is contained in:
2026-08-01 19:53:18 +02:00
parent 49919fef32
commit 1cd905ca4a
29 changed files with 1701 additions and 28 deletions
@@ -0,0 +1,20 @@
<?php
namespace App\Features\Dashboard\Services;
use App\Features\Dashboard\Contracts\PriceRepository;
class DashboardService
{
public function __construct(
public PriceRepository $repository
) {}
public function getDashboardData(): array
{
return [
'electricity' => $this->repository->retrieveElectricity(),
'gas' => $this->repository->retrieveGas(),
];
}
}