a bit of progress

This commit is contained in:
2026-07-04 17:09:55 +03:00
parent f6e7d37428
commit 082b532d52
29 changed files with 2734 additions and 47 deletions
@@ -18,11 +18,14 @@ class CrimeController extends Controller
protected EnergyService $energyService;
protected NotificationService $notificationService;
public function __construct()
{
$this->crimeService = new CrimeService();
$this->energyService = new EnergyService();
$this->notificationService = new NotificationService();
public function __construct(
CrimeService $crimeService,
EnergyService $energyService,
NotificationService $notificationService
) {
$this->crimeService = $crimeService;
$this->energyService = $energyService;
$this->notificationService = $notificationService;
}
/**