Componenta milo/hydrator chyba must have just one non-static method create() or get()

Dave3991
Člen | 14
+
+1
-

Ahoj, stručně

  1. instalace
composer require milo/hydrator
  1. registrování v config.neon
services:
	- Milo\Hydrator\IHydratorBackend
  1. chyba
Interface Milo\Hydrator\IHydratorBackend used in service '28_Milo_Hydrator_IHydratorBackend' must have just one non-static method create() or get().

nevim co dělám špatně :(

David Matějka
Moderator | 6445
+
+2
-

musis registrovat konkretni implementaci, tedy https://github.com/…sBackend.php

Dave3991
Člen | 14
+
0
-

funguje dík :)