feat(dashboard): add price dashboard with Zonneplan integration

This commit is contained in:
JustZoe101 committed 2026-08-01 19:53:18 +02:00
1 parent 49919fef32
commit 1cd905ca4a
29 files changed
+1701 -28

No files matched your search

@@ -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(),
];
}
}