yiisoft/hydrator

Debug collector

Offen

#32 geöffnet am 08.06.2023

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)PHP (5 Forks)auto 404
good first issuestatus:ready for adoption

Repository-Metriken

Stars
 (34 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

A collector for debugging is needed. Similar to https://github.com/yiisoft/validator/blob/master/src/Debug/ValidatorCollector.php is enough for the first iteration

In general would be nice to collect:

  • In-out hydration result: ['service', '5'] => new Model($serviceFromContainer, 5)
  • Data mutations: ['a', '5'] => new Model('abc', '555')
  • Data types mutations: '5' => 5

Contributor Guide